mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
add isParticl param to relevant bitcoindart calls
This commit is contained in:
parent
b575418e8f
commit
f0f008471c
1 changed files with 6 additions and 6 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue