mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-05 10:19:22 +00:00
missing inputs notification tx fix
This commit is contained in:
parent
9c510119d7
commit
8b777655ca
1 changed files with 11 additions and 0 deletions
|
@ -633,6 +633,17 @@ mixin PaynymWalletInterface {
|
||||||
utxoSigningData[utxo.txid]["output"] as Uint8List,
|
utxoSigningData[utxo.txid]["output"] as Uint8List,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// add rest of possible inputs
|
||||||
|
for (var i = 1; i < utxosToUse.length; i++) {
|
||||||
|
final utxo = utxosToUse[i];
|
||||||
|
txb.addInput(
|
||||||
|
utxo.txid,
|
||||||
|
utxo.vout,
|
||||||
|
null,
|
||||||
|
utxoSigningData[utxo.txid]["output"] as Uint8List,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// todo: modify address once segwit support is in our bip47
|
// todo: modify address once segwit support is in our bip47
|
||||||
txb.addOutput(
|
txb.addOutput(
|
||||||
targetPaymentCode.notificationAddressP2PKH(), _dustLimitP2PKH);
|
targetPaymentCode.notificationAddressP2PKH(), _dustLimitP2PKH);
|
||||||
|
|
Loading…
Reference in a new issue