aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2013-01-23 12:48:35 -0800
committerEric Lombrozo <elombrozo@gmail.com>2013-06-24 09:33:15 -0700
commite6fe8e77fb8816b8891a36467ba860d6b55934f4 (patch)
treeee36f329c8e36ef55667c17862702eb03d1e9bb2 /src/main.h
parente5cefb9be12009114e2f86e8b9a421951c41f02d (diff)
downloadbitcoin-e6fe8e77fb8816b8891a36467ba860d6b55934f4.tar.xz
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 9e0235fa57..7b77b0e3ab 100644
--- a/src/main.h
+++ b/src/main.h
@@ -119,6 +119,8 @@ struct CBlockTemplate;
void RegisterWallet(CWallet* pwalletIn);
/** Unregister a wallet from core */
void UnregisterWallet(CWallet* pwalletIn);
+/** Unregister all wallets from core */
+void UnregisterAllWallets();
/** Push an updated transaction to all registered wallets */
void SyncWithWallets(const uint256 &hash, const CTransaction& tx, const CBlock* pblock = NULL, bool fUpdate = false);