missing inputs notification tx fix

This commit is contained in:
julian 2023-02-22 06:21:19 -06:00
parent 9c510119d7
commit 8b777655ca

View file

@ -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);