Skip to content

Commit

Permalink
CR: update
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Apr 16, 2024
1 parent ea96c25 commit 47455d6
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -72,7 +72,8 @@ export const RestoreWalletScreen = () => {

const saveMnemonic = React.useCallback(async () => {
const {accountPubKeyHex} = await makeKeys({mnemonic})
const {accountPlate} = await generateShelleyPlateFromKey(accountPubKeyHex, 1, networkId)
const addressCount = 1
const {accountPlate} = await generateShelleyPlateFromKey(accountPubKeyHex, addressCount, networkId)

const duplicatedWalletMeta = walletMetas?.find(
(walletMeta) => walletMeta.checksum.TextPart === accountPlate.TextPart,
Expand Down

0 comments on commit 47455d6

Please sign in to comment.