diff options
| author | Pieter Wuille <[email protected]> | 2014-10-19 18:17:01 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-10-20 10:59:12 -0700 |
| commit | a96d113962b92b550a04d6ab0f580d29401039da (patch) | |
| tree | a4f204b5087e8aee6ee1565756a0e16c6aa4c993 /src/init.cpp | |
| parent | Merge pull request #4468 (diff) | |
| download | discoin-a96d113962b92b550a04d6ab0f580d29401039da.tar.xz discoin-a96d113962b92b550a04d6ab0f580d29401039da.zip | |
Rename CWalletInterface to CValidationInterface
It's useful for much more than wallets.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 55991ac9b..273c21f12 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -170,7 +170,7 @@ void Shutdown() #ifndef WIN32 boost::filesystem::remove(GetPidFile()); #endif - UnregisterAllWallets(); + UnregisterAllValidationInterfaces(); #ifdef ENABLE_WALLET delete pwalletMain; pwalletMain = NULL; @@ -1154,7 +1154,7 @@ bool AppInit2(boost::thread_group& threadGroup) LogPrintf("%s", strErrors.str()); LogPrintf(" wallet %15dms\n", GetTimeMillis() - nStart); - RegisterWallet(pwalletMain); + RegisterValidationInterface(pwalletMain); CBlockIndex *pindexRescan = chainActive.Tip(); if (GetBoolArg("-rescan", false)) |