wip: fix used chest import
This commit is contained in:
parent
9a645e3733
commit
8a30ba70d7
Binary file not shown.
After Width: | Height: | Size: 166 KiB |
Binary file not shown.
After Width: | Height: | Size: 166 KiB |
|
@ -397,7 +397,7 @@ class GenerateWalletsProvider with ChangeNotifier {
|
|||
|
||||
final Map balance = await sub.getBalance(addressData.address!).timeout(
|
||||
const Duration(seconds: 1),
|
||||
onTimeout: () => {},
|
||||
onTimeout: () => {'transferableBalance': 0},
|
||||
);
|
||||
// const balance = 0;
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ class SubstrateSdk with ChangeNotifier {
|
|||
} else {
|
||||
result.putIfAbsent('canCert', () => 0);
|
||||
}
|
||||
log.d('tatatatata: ${nextIssuableOn - blocNumber}');
|
||||
// log.d('tatatatata: ${nextIssuableOn - blocNumber}');
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@ -508,6 +508,9 @@ class SubstrateSdk with ChangeNotifier {
|
|||
BuildContext context, String address, int number, String password) async {
|
||||
final keypair = getKeypair(address);
|
||||
|
||||
//TODO: fix null keypair after used chest import
|
||||
log.d('tatatata $address $number $password ${keypair.encoded}');
|
||||
|
||||
final seedMap =
|
||||
await keyring.store.getDecryptedSeed(keypair.pubKey, password);
|
||||
|
||||
|
|
Loading…
Reference in New Issue