This commit is contained in:
Craig Raw 2022-02-09 13:23:50 +02:00
parent 7aeca7ebd3
commit dd7a3a6c8a
2 changed files with 5 additions and 1 deletions

2
drongo

@ -1 +1 @@
Subproject commit de87ab1102db12cad8bbfe814a1346078cf957a5 Subproject commit 78359961f369f4f8b016973529241048f2ef216d

View file

@ -262,6 +262,10 @@ public class DbPersistence implements Persistence {
BlockTransaction blkTx = wallet.getTransactions().get(txid); BlockTransaction blkTx = wallet.getTransactions().get(txid);
blockTransactionDao.addOrUpdate(wallet, txid, blkTx); blockTransactionDao.addOrUpdate(wallet, txid, blkTx);
} }
if(!dirtyPersistables.clearHistory) {
DetachedLabelDao detachedLabelDao = handle.attach(DetachedLabelDao.class);
detachedLabelDao.clearAndAddAll(wallet);
}
} }
if(dirtyPersistables.label != null) { if(dirtyPersistables.label != null) {