X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwalletdb.h;h=31d6463a5c84f5533b60c72e8e680dc2d4d6cc9f;hb=1c4fc9052a444c114d9c1501d2c6d1305de650d0;hp=e9d6404efcb01559be44b9fc5a0e79aafa51ee70;hpb=5249b8a7060b3f59bdf4c710cfc20a99d3c164e9;p=novacoin.git diff --git a/src/walletdb.h b/src/walletdb.h index e9d6404..31d6463 100644 --- a/src/walletdb.h +++ b/src/walletdb.h @@ -123,10 +123,10 @@ public: return Write(std::make_pair(std::string("cscript"), hash), redeemScript, false); } - bool WriteWatchOnly(const CTxDestination &dest) + bool WriteWatchOnly(const CScript &dest) { nWalletDBUpdated++; - return Write(std::make_pair(std::string("watch"), CBitcoinAddress(dest).ToString()), '1'); + return Write(std::make_pair(std::string("watchs"), dest), '1'); } bool WriteBestBlock(const CBlockLocator& locator)