Skip to content

Commit 1d0d790

Browse files
committed
disable redundant call to init()
1 parent 3d23ec0 commit 1d0d790

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/pages/wallet_view/wallet_view.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,9 @@ class _WalletViewState extends ConsumerState<WalletView> {
432432
);
433433

434434
final wallet = ref.read(pWallets).getWallet(walletId) as SparkInterface;
435-
await wallet.init();
435+
// this should not be needed here as its already called when entering a
436+
// wallet
437+
// await wallet.init();
436438
final sparkViewKeyHex = wallet.viewKeyHex;
437439

438440
if (context.mounted) {

0 commit comments

Comments
 (0)