Skip to content

Commit

Permalink
At wallet creation, add an ethereum crypto account #1737
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Jul 19, 2023
1 parent ba8573c commit 28ed650
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/wallet/cubit/wallet_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,19 @@ class WalletCubit extends Cubit<WalletState> {
showStatus: showStatus,
),
);

/// Ethereum at start
cryptoAccountDataList.add(
await _createBlockchainAccount(
accountName: accountName,
mnemonicOrKey: mnemonicOrKey,
isImported: isImported,
isSecretKey: isSecretKey,
blockchainType: BlockchainType.ethereum,
totalAccountsYet: accountsCount + 3,
showStatus: showStatus,
),
);
}
}

Expand Down

0 comments on commit 28ed650

Please sign in to comment.