Wallet: fix usage of wrong TransactionInput constructor

This commit is contained in:
Andreas Schildbach 2023-03-31 14:21:57 +02:00
parent cc901ee863
commit 81adac9f1e

View File

@ -5358,7 +5358,7 @@ public class Wallet extends BaseTaggableObject
private void addSuppliedInputs(Transaction tx, List<TransactionInput> originalInputs) {
for (TransactionInput input : originalInputs)
tx.addInput(new TransactionInput(tx, input.bitcoinSerialize()));
tx.addInput(new TransactionInput(tx, ByteBuffer.wrap(input.bitcoinSerialize())));
}
private int estimateVirtualBytesForSigning(CoinSelection selection) {