aboutsummaryrefslogtreecommitdiff
path: root/src/test/multisig_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2013-05-01 06:52:05 +0200
committerPieter Wuille <[email protected]>2013-05-30 05:20:21 +0200
commitdfa23b94c24aae6466152fccbe896ba5dc0e97b4 (patch)
treea1f7f856577b2223bae9351c960b595b4032ce7a /src/test/multisig_tests.cpp
parentMake CPubKey statically allocated (diff)
downloaddiscoin-dfa23b94c24aae6466152fccbe896ba5dc0e97b4.tar.xz
discoin-dfa23b94c24aae6466152fccbe896ba5dc0e97b4.zip
CSecret/CKey -> CKey/CPubKey split/refactor
Diffstat (limited to 'src/test/multisig_tests.cpp')
-rw-r--r--src/test/multisig_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/multisig_tests.cpp b/src/test/multisig_tests.cpp
index d6f836d36..9ef932b5b 100644
--- a/src/test/multisig_tests.cpp
+++ b/src/test/multisig_tests.cpp
@@ -30,7 +30,7 @@ sign_multisig(CScript scriptPubKey, vector<CKey> keys, CTransaction transaction,
CScript result;
result << OP_0; // CHECKMULTISIG bug workaround
- BOOST_FOREACH(CKey key, keys)
+ BOOST_FOREACH(const CKey &key, keys)
{
vector<unsigned char> vchSig;
BOOST_CHECK(key.Sign(hash, vchSig));