diff options
Diffstat (limited to 'src/base58.h')
-rw-r--r-- | src/base58.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base58.h b/src/base58.h index fc8c8aa5de..9dfea86ff5 100644 --- a/src/base58.h +++ b/src/base58.h @@ -403,7 +403,7 @@ class CBitcoinSecret : public CBase58Data { public: void SetSecret(const CSecret& vchSecret, bool fCompressed) - { + { assert(vchSecret.size() == 32); SetData(fTestNet ? 239 : 128, &vchSecret[0], vchSecret.size()); if (fCompressed) |