3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00

Wallet: move setTag to the extensions section of the file.

This commit is contained in:
Mike Hearn 2014-06-23 15:37:52 +02:00
parent e9c777c9a6
commit f2f64d1e80

View File

@ -3588,6 +3588,12 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
}
}
@Override
public synchronized void setTag(String tag, ByteString value) {
super.setTag(tag, value);
saveNow();
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Boilerplate for running event listeners - dispatches events onto the user code thread (where we don't do
@ -4105,10 +4111,4 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
public ReentrantLock getLock() {
return lock;
}
@Override
public synchronized void setTag(String tag, ByteString value) {
super.setTag(tag, value);
saveNow();
}
}