From 5d68ca013d038d86098c0f0e1f670c94f84384d2 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Tue, 12 Apr 2016 11:26:38 -0700 Subject: [PATCH] We have not yet implemented begin() and size() methods in the master branch. --- src/key.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); -- 1.7.1