fix null is not int when initCurrencyParameters
https://sentry.io/share/issue/da813434b4ba48c7b53dadaeb5d70cc1/
This commit is contained in:
parent
535e121505
commit
30b8b68bef
|
@ -537,7 +537,6 @@ class SubstrateSdk with ChangeNotifier {
|
|||
notifyListeners();
|
||||
});
|
||||
|
||||
await initCurrencyParameters();
|
||||
await getBalanceRatio();
|
||||
|
||||
notifyListeners();
|
||||
|
|
|
@ -146,8 +146,11 @@ class HomeScreen extends StatelessWidget {
|
|||
sub.reload();
|
||||
} else {
|
||||
await sub.connectNode(ctx);
|
||||
// Currency parameters
|
||||
sub.initCurrencyParameters();
|
||||
}
|
||||
// Indexer
|
||||
|
||||
// Indexer Blockchain start
|
||||
getBlockStart();
|
||||
});
|
||||
// await sub.connectNode(ctx);
|
||||
|
|
Loading…
Reference in New Issue