aboutsummaryrefslogtreecommitdiff
path: root/src/test/sigopcount_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-10-29 07:11:24 +0100
committerPieter Wuille <[email protected]>2015-11-13 18:15:20 +0100
commit114b5812f6283f2325fc31e186b26c6d76f9551a (patch)
tree6c04a7ee882b7d8a291bb9507ddd5cf17e23f704 /src/test/sigopcount_tests.cpp
parentMerge pull request #6983 (diff)
downloaddiscoin-114b5812f6283f2325fc31e186b26c6d76f9551a.tar.xz
discoin-114b5812f6283f2325fc31e186b26c6d76f9551a.zip
Prevector type
Diffstat (limited to 'src/test/sigopcount_tests.cpp')
-rw-r--r--src/test/sigopcount_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/sigopcount_tests.cpp b/src/test/sigopcount_tests.cpp
index b26fed99f..ea2b9b795 100644
--- a/src/test/sigopcount_tests.cpp
+++ b/src/test/sigopcount_tests.cpp
@@ -20,7 +20,7 @@ using namespace std;
static std::vector<unsigned char>
Serialize(const CScript& s)
{
- std::vector<unsigned char> sSerialized(s);
+ std::vector<unsigned char> sSerialized(s.begin(), s.end());
return sSerialized;
}