From: CryptoManiac Date: Tue, 12 Apr 2016 18:26:38 +0000 (-0700) Subject: We have not yet implemented begin() and size() methods in the master branch. X-Git-Tag: nvc-v0.5.9~149 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=5d68ca013d038d86098c0f0e1f670c94f84384d2;hp=7218a68da35b3dddb228fd4647da831d249e6cd5 We have not yet implemented begin() and size() methods in the master branch. --- diff --git a/src/key.cpp b/src/key.cpp index c68fcda..1ed4e25 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -521,7 +521,7 @@ bool CPubKey::Verify(const uint256 &hash, const std::vector& vchS break; // -1 = error, 0 = bad sig, 1 = good - ret = ECDSA_verify(0, hash.begin(), hash.size(), norm_der, derlen, pkey) == 1; + ret = ECDSA_verify(0, (const unsigned char*)&hash, sizeof(hash), norm_der, derlen, pkey) == 1; OPENSSL_free(norm_der); } while(false);