From 735259b2ebe4f6fd375818edad2f652a60b5c58b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 28 May 2012 04:28:48 -0700 Subject: [PATCH] Pass by ref --- src/key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key.h b/src/key.h index 2233c63b31..add1e39b51 100644 --- a/src/key.h +++ b/src/key.h @@ -281,7 +281,7 @@ public: return Verify(hash, &vchSig[0], vchSig.size()); } - bool Verify(const uint256& hash, const std::string sig) const + bool Verify(const uint256& hash, const std::string& sig) const { return Verify(hash, sig.data(), sig.size()); }