mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
WalletAppKit to use new Wallet.reset().
This commit is contained in:
parent
2fa5ba30e2
commit
f36576ce29
@ -375,7 +375,7 @@ public class WalletAppKit extends AbstractIdleService {
|
||||
serializer = new WalletProtobufSerializer();
|
||||
wallet = serializer.readWallet(params, extArray, proto);
|
||||
if (shouldReplayWallet)
|
||||
wallet.clearTransactions(0);
|
||||
wallet.reset();
|
||||
} finally {
|
||||
walletStream.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user