From d4499ac3bc0f01cc4f80ea2b66ec272eb676b9e7 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 3 Feb 2023 19:04:43 -0600 Subject: [PATCH] firo bug fix and test update --- lib/services/coins/firo/firo_wallet.dart | 2 +- test/services/coins/firo/firo_wallet_test.dart | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/services/coins/firo/firo_wallet.dart b/lib/services/coins/firo/firo_wallet.dart index de2088a5d..7b7f5cb98 100644 --- a/lib/services/coins/firo/firo_wallet.dart +++ b/lib/services/coins/firo/firo_wallet.dart @@ -234,7 +234,7 @@ Future> isolateDerive( final derivePathChange = constructDerivePath( networkWIF: _network.wif, - chain: 0, + chain: 1, index: i, ); currentNode = await Bip32Utils.getBip32NodeFromRoot( diff --git a/test/services/coins/firo/firo_wallet_test.dart b/test/services/coins/firo/firo_wallet_test.dart index 277a6cbd5..5cdf9ce50 100644 --- a/test/services/coins/firo/firo_wallet_test.dart +++ b/test/services/coins/firo/firo_wallet_test.dart @@ -1228,6 +1228,9 @@ void main() { await secureStore.write( key: "${testWalletId}buildMintTransaction_mnemonic", value: BuildMintTxTestParams.mnemonic); + await secureStore.write( + key: "${testWalletId}buildMintTransaction_mnemonicPassphrase", + value: ""); when(cachedClient.getTransaction( txHash: BuildMintTxTestParams.utxoInfo["txid"] as String,