wip: fix used chest import

This commit is contained in:
poka 2022-08-15 18:54:11 +02:00
parent 9a645e3733
commit 8a30ba70d7
4 changed files with 5 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View File

@ -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;

View File

@ -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);