make SetHash160 return a value (as specified in the function signature)

This commit is contained in:
Wladimir J. van der Laan 2011-07-26 16:54:32 +02:00
parent 491ad6db50
commit 5326a31249

View file

@ -244,6 +244,7 @@ public:
bool SetHash160(const uint160& hash160) bool SetHash160(const uint160& hash160)
{ {
SetData(fTestNet ? 111 : 0, &hash160, 20); SetData(fTestNet ? 111 : 0, &hash160, 20);
return true;
} }
bool SetPubKey(const std::vector<unsigned char>& vchPubKey) bool SetPubKey(const std::vector<unsigned char>& vchPubKey)