aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-07-26 08:46:48 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2011-07-26 08:46:48 -0700
commita0eb1d151f60ac49ce30042c7ae4039cf538992d (patch)
tree93d03c8b972cb3f77626e7297acb6e8ec5394bda
parenta9ba47101a46533ff0418d6868ebc9bf5c889818 (diff)
parent690c723e5fef4de77a2f1cbc51c9b3166c509520 (diff)
Merge pull request #434 from laanwj/addkey_retval
make SetHash160 return a value (as specified in the function signature)
-rw-r--r--src/base58.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base58.h b/src/base58.h
index 266412c861..04922c74d8 100644
--- a/src/base58.h
+++ b/src/base58.h
@@ -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)