3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 23:03:04 +00:00

WalletProtobufSerializer: Clear txMap after reading.

Resolves issue 380.
This commit is contained in:
Mike Hearn 2013-03-30 17:23:34 +00:00
parent 616b4a5a7d
commit 7307308915

View File

@ -394,6 +394,9 @@ public class WalletProtobufSerializer {
wallet.setVersion(walletProto.getVersion());
}
// Make sure the object can be re-used to read another wallet without corruption.
txMap.clear();
return wallet;
}