aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2011-07-26 08:46:48 -0700
committerPieter Wuille <[email protected]>2011-07-26 08:46:48 -0700
commita0eb1d151f60ac49ce30042c7ae4039cf538992d (patch)
tree93d03c8b972cb3f77626e7297acb6e8ec5394bda /src
parentMerge pull request #403 from sipa/cbitcoinaddress (diff)
parentmake SetHash160 return a value (as specified in the function signature) (diff)
downloaddiscoin-a0eb1d151f60ac49ce30042c7ae4039cf538992d.tar.xz
discoin-a0eb1d151f60ac49ce30042c7ae4039cf538992d.zip
Merge pull request #434 from laanwj/addkey_retval
make SetHash160 return a value (as specified in the function signature)
Diffstat (limited to 'src')
-rw-r--r--src/base58.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base58.h b/src/base58.h
index 266412c86..04922c74d 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)