make SetHash160 return a value (as specified in the function signature)
authorWladimir J. van der Laan <laanwj@gmail.com>
Tue, 26 Jul 2011 14:54:32 +0000 (16:54 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Tue, 26 Jul 2011 14:59:31 +0000 (16:59 +0200)
src/base58.h

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