3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-11 17:55:53 +00:00

WalletAppKit to use new Wallet.reset().

This commit is contained in:
Andreas Schildbach 2015-01-06 15:02:11 +01:00
parent 2fa5ba30e2
commit f36576ce29

View File

@ -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();
}