Skip to content
Snippets Groups Projects
Commit 8a30ba70 authored by poka's avatar poka
Browse files

wip: fix used chest import

parent 9a645e37
No related branches found
No related tags found
No related merge requests found
Pipeline #16773 waiting for manual action
assets/onBoarding/gecko_also_can_forget_es.png

166 KiB

assets/onBoarding/gecko_also_can_forget_fr.png

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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment