Do tags lazily as was supposed to happen.

This commit is contained in:
Mike Hearn 2014-05-09 14:56:26 +02:00
parent d68b3b5108
commit 408bca3433

View file

@ -38,7 +38,6 @@ import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.SettableFuture;
import com.google.protobuf.ByteString;
import org.bitcoinj.wallet.Protos.Wallet.EncryptionType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -207,7 +206,6 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
extensions = new HashMap<String, WalletExtension>();
// Use a linked hash map to ensure ordering of event listeners is correct.
confidenceChanged = new LinkedHashMap<Transaction, TransactionConfidence.Listener.ChangeReason>();
tags = new HashMap<String, ByteString>();
createTransientState();
}