diff options
| author | Jeff Garzik <[email protected]> | 2013-05-30 07:55:25 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-05-30 07:55:25 -0700 |
| commit | e2f42142a03fa817a7fe6529fc1d55ef2d016352 (patch) | |
| tree | a298361e95260b418a2bf82665390441e954954e /src/test/sigopcount_tests.cpp | |
| parent | Merge pull request #2693 from jgarzik/checkpoint-bool (diff) | |
| parent | Make signature cache store CPubKeys (diff) | |
| download | discoin-e2f42142a03fa817a7fe6529fc1d55ef2d016352.tar.xz discoin-e2f42142a03fa817a7fe6529fc1d55ef2d016352.zip | |
Merge pull request #2600 from sipa/keyrefactor
Refactor key.cpp/.h
Diffstat (limited to 'src/test/sigopcount_tests.cpp')
| -rw-r--r-- | src/test/sigopcount_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/sigopcount_tests.cpp b/src/test/sigopcount_tests.cpp index 1762680ad..5a87f1760 100644 --- a/src/test/sigopcount_tests.cpp +++ b/src/test/sigopcount_tests.cpp @@ -37,12 +37,12 @@ BOOST_AUTO_TEST_CASE(GetSigOpCount) scriptSig << OP_0 << Serialize(s1); BOOST_CHECK_EQUAL(p2sh.GetSigOpCount(scriptSig), 3U); - std::vector<CKey> keys; + std::vector<CPubKey> keys; for (int i = 0; i < 3; i++) { CKey k; k.MakeNewKey(true); - keys.push_back(k); + keys.push_back(k.GetPubKey()); } CScript s2; s2.SetMultisig(1, keys); |