Browse Source

Merge pull request #434 from laanwj/addkey_retval

make SetHash160 return a value (as specified in the function signature)
0.8
Pieter Wuille 14 years ago
parent
commit
a0eb1d151f
  1. 1
      src/base58.h

1
src/base58.h

@ -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)

Loading…
Cancel
Save