mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-25 06:14:40 +00:00
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
This commit is contained in:
parent
e5cefb9be1
commit
e6fe8e77fb
@ -119,7 +119,7 @@ void Shutdown()
|
|||||||
}
|
}
|
||||||
bitdb.Flush(true);
|
bitdb.Flush(true);
|
||||||
boost::filesystem::remove(GetPidFile());
|
boost::filesystem::remove(GetPidFile());
|
||||||
UnregisterWallet(pwalletMain);
|
UnregisterAllWallets();
|
||||||
delete pwalletMain;
|
delete pwalletMain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,6 +119,8 @@ struct CBlockTemplate;
|
|||||||
void RegisterWallet(CWallet* pwalletIn);
|
void RegisterWallet(CWallet* pwalletIn);
|
||||||
/** Unregister a wallet from core */
|
/** Unregister a wallet from core */
|
||||||
void UnregisterWallet(CWallet* pwalletIn);
|
void UnregisterWallet(CWallet* pwalletIn);
|
||||||
|
/** Unregister all wallets from core */
|
||||||
|
void UnregisterAllWallets();
|
||||||
/** Push an updated transaction to all registered wallets */
|
/** Push an updated transaction to all registered wallets */
|
||||||
void SyncWithWallets(const uint256 &hash, const CTransaction& tx, const CBlock* pblock = NULL, bool fUpdate = false);
|
void SyncWithWallets(const uint256 &hash, const CTransaction& tx, const CBlock* pblock = NULL, bool fUpdate = false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user