Prevector type

This commit is contained in:
Pieter Wuille
2015-10-29 07:11:24 +01:00
parent 4f09b77c7f
commit 114b5812f6
19 changed files with 874 additions and 68 deletions

View File

@@ -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;
}