mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +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,
|
||||
);
|
||||
|
||||
// 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
|
||||
txb.addOutput(
|
||||
targetPaymentCode.notificationAddressP2PKH(), _dustLimitP2PKH);
|
||||
|
|
Loading…
Reference in a new issue