mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 10:12:19 +01:00
Bugfix: don't throw away deserialized wallet in WalletAppKit
This commit is contained in:
parent
ef95eb3b79
commit
c8850c94ae
@ -226,7 +226,7 @@ public class WalletAppKit extends AbstractIdleService {
|
||||
vWallet = new Wallet(params);
|
||||
WalletExtension[] extArray = extensions.toArray(new WalletExtension[extensions.size()]);
|
||||
Protos.Wallet proto = WalletProtobufSerializer.parseToProto(walletStream);
|
||||
new WalletProtobufSerializer().readWallet(params, extArray, proto);
|
||||
vWallet = new WalletProtobufSerializer().readWallet(params, extArray, proto);
|
||||
if (shouldReplayWallet)
|
||||
vWallet.clearTransactions(0);
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user