X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fscript.cpp;h=652240f6863b47a8b027edb157225ed0738ac803;hb=cb61b8dc4ce2f24332fdfe9b47e5f87905a9da71;hp=f91760084824b008cae7d88330bf76aa61e41b73;hpb=2ffba736e9102d016b96c2e5de2ce7757e612667;p=novacoin.git diff --git a/src/script.cpp b/src/script.cpp index f917600..652240f 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1135,9 +1135,9 @@ bool ExtractAddress(const CScript& scriptPubKey, const CKeyStore* keystore, CBit { uint160 hash160; if (item.first == OP_PUBKEY) - addressRet.SetAddress(item.second); + addressRet.SetPubKey(item.second); else if (item.first == OP_PUBKEYHASH) - addressRet.SetAddress(uint160(item.second)); + addressRet.SetHash160((uint160)item.second); if (keystore == NULL || keystore->HaveKey(addressRet)) return true; }