mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00: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…
x
Reference in New Issue
Block a user