mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 09:50:32 +01:00
WalletProtobufSerializer: remove network
from method readTransaction()
This commit is contained in:
parent
0676e5cbe9
commit
bf02dbfb96
@ -535,7 +535,7 @@ public class WalletProtobufSerializer {
|
||||
} else {
|
||||
// Read all transactions and insert into the txMap.
|
||||
for (Protos.Transaction txProto : walletProto.getTransactionList()) {
|
||||
readTransaction(txProto, wallet.getParams());
|
||||
readTransaction(txProto);
|
||||
}
|
||||
|
||||
// Update transaction outputs to point to inputs that spend them
|
||||
@ -628,7 +628,7 @@ public class WalletProtobufSerializer {
|
||||
return Protos.Wallet.parseFrom(codedInput);
|
||||
}
|
||||
|
||||
private void readTransaction(Protos.Transaction txProto, NetworkParameters params) throws UnreadableWalletException {
|
||||
private void readTransaction(Protos.Transaction txProto) throws UnreadableWalletException {
|
||||
Transaction tx = new Transaction();
|
||||
|
||||
tx.setVersion(txProto.getVersion());
|
||||
|
Loading…
Reference in New Issue
Block a user