mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 06:35:17 +01:00
Wallet: fix usage of wrong TransactionInput
constructor
This commit is contained in:
parent
cc901ee863
commit
81adac9f1e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue