aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2019-10-07 14:11:34 -0400
committerAndrew Chow <[email protected]>2019-11-01 22:58:05 -0400
commit4c5491f99c6b8ca779c48be63eb2ba18d98ee52a (patch)
treedefbe6ce001414352b7d44a58bc34d7be2760df6 /src/wallet/scriptpubkeyman.cpp
parentRefactor: Move SetAddressBook call out of LegacyScriptPubKeyMan::GetNewDestin... (diff)
downloaddiscoin-4c5491f99c6b8ca779c48be63eb2ba18d98ee52a.tar.xz
discoin-4c5491f99c6b8ca779c48be63eb2ba18d98ee52a.zip
Refactor: Move SetWalletFlag out of LegacyScriptPubKeyMan::UpgradeKeyMetadata
This commit does not change behavior.
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
-rw-r--r--src/wallet/scriptpubkeyman.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp
index 03a7b8f28..df03f5c88 100644
--- a/src/wallet/scriptpubkeyman.cpp
+++ b/src/wallet/scriptpubkeyman.cpp
@@ -320,8 +320,6 @@ void LegacyScriptPubKeyMan::UpgradeKeyMetadata()
}
}
}
- batch.reset(); //write before setting the flag
- m_storage.SetWalletFlag(WALLET_FLAG_KEY_ORIGIN_METADATA);
}
bool LegacyScriptPubKeyMan::IsHDEnabled() const