mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +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++) {
|
for (var i = 0; i < utxosToUse.length; i++) {
|
||||||
final txid = utxosToUse[i].txid;
|
final txid = utxosToUse[i].txid;
|
||||||
txb.addInput(txid, utxosToUse[i].vout, null,
|
txb.addInput(txid, utxosToUse[i].vout, null,
|
||||||
utxoSigningData[txid]["output"] as Uint8List);
|
utxoSigningData[txid]["output"] as Uint8List, '', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add transaction output
|
// Add transaction output
|
||||||
|
@ -3321,11 +3321,11 @@ class ParticlWallet extends CoinServiceAPI {
|
||||||
for (var i = 0; i < utxosToUse.length; i++) {
|
for (var i = 0; i < utxosToUse.length; i++) {
|
||||||
final txid = utxosToUse[i].txid;
|
final txid = utxosToUse[i].txid;
|
||||||
txb.sign(
|
txb.sign(
|
||||||
vin: i,
|
vin: i,
|
||||||
keyPair: utxoSigningData[txid]["keyPair"] as ECPair,
|
keyPair: utxoSigningData[txid]["keyPair"] as ECPair,
|
||||||
witnessValue: utxosToUse[i].value,
|
witnessValue: utxosToUse[i].value,
|
||||||
redeemScript: utxoSigningData[txid]["redeemScript"] as Uint8List?,
|
redeemScript: utxoSigningData[txid]["redeemScript"] as Uint8List?,
|
||||||
);
|
isParticl: true);
|
||||||
}
|
}
|
||||||
} catch (e, s) {
|
} catch (e, s) {
|
||||||
Logging.instance.log("Caught exception while signing transaction: $e\n$s",
|
Logging.instance.log("Caught exception while signing transaction: $e\n$s",
|
||||||
|
|
Loading…
Reference in a new issue