mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
Wallet: fix usage of wrong TransactionInput
constructor
This commit is contained in:
parent
cc901ee863
commit
81adac9f1e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user