MCPcopy Create free account
hub / github.com/ElementsProject/elements / EraseWatchOnly

Method EraseWatchOnly

src/wallet/walletdb.cpp:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool WalletBatch::EraseWatchOnly(const CScript &dest)
165{
166 if (!EraseIC(std::make_pair(DBKeys::WATCHMETA, dest))) {
167 return false;
168 }
169 return EraseIC(std::make_pair(DBKeys::WATCHS, dest));
170}
171
172bool WalletBatch::WriteBestBlock(const CBlockLocator& locator)
173{

Callers 1

RemoveWatchOnlyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected