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:
parent
616b4a5a7d
commit
7307308915
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user