From f0f008471cfb487ca51bf89c2a00788329672ddc Mon Sep 17 00:00:00 2001 From: sneurlax Date: Wed, 30 Nov 2022 13:28:12 -0600 Subject: [PATCH] add isParticl param to relevant bitcoindart calls --- lib/services/coins/particl/particl_wallet.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/services/coins/particl/particl_wallet.dart b/lib/services/coins/particl/particl_wallet.dart index d15053415..73e134861 100644 --- a/lib/services/coins/particl/particl_wallet.dart +++ b/lib/services/coins/particl/particl_wallet.dart @@ -3308,7 +3308,7 @@ class ParticlWallet extends CoinServiceAPI { for (var i = 0; i < utxosToUse.length; i++) { final txid = utxosToUse[i].txid; txb.addInput(txid, utxosToUse[i].vout, null, - utxoSigningData[txid]["output"] as Uint8List); + utxoSigningData[txid]["output"] as Uint8List, '', true); } // Add transaction output @@ -3321,11 +3321,11 @@ class ParticlWallet extends CoinServiceAPI { for (var i = 0; i < utxosToUse.length; i++) { final txid = utxosToUse[i].txid; txb.sign( - vin: i, - keyPair: utxoSigningData[txid]["keyPair"] as ECPair, - witnessValue: utxosToUse[i].value, - redeemScript: utxoSigningData[txid]["redeemScript"] as Uint8List?, - ); + vin: i, + keyPair: utxoSigningData[txid]["keyPair"] as ECPair, + witnessValue: utxosToUse[i].value, + redeemScript: utxoSigningData[txid]["redeemScript"] as Uint8List?, + isParticl: true); } } catch (e, s) { Logging.instance.log("Caught exception while signing transaction: $e\n$s",