novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

WalletProtobufSerializer.readWallet should clear txMap after use #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reasons:

1. If someone tries to use the same WalletProtobufSerializer instance twice for 
reading in a wallet, he would fail ("Wallet contained duplicate transaction").

2. Its easier for the garbage collector if collections are already unlinked.

Original issue reported on code.google.com by andreas....@gmail.com on 30 Mar 2013 at 10:36

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 73073089156c.

Original comment by hearn@google.com on 30 Mar 2013 at 6:12