diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-16 14:56:45 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-17 20:03:42 +0200 |
commit | 6b6aaa1698838278a547f16a15e635bd58ec867d (patch) | |
tree | 62a79e33a866c2a92f548cecb6148c7339f8beaf /src/script.cpp | |
parent | ccd65d426156c3d5b7a8f1123210decd1f06fe42 (diff) |
Further reduce header dependencies
This commit removes the dependency of serialize.h on PROTOCOL_VERSION,
and makes this parameter required instead of implicit. This is much saner,
as it makes the places where changing a version number can have an
influence obvious.
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp index ac1f0405a8..fc0a5b3eaa 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1092,7 +1092,7 @@ uint256 SignatureHash(CScript scriptCode, const CTransaction& txTo, unsigned int } // Serialize and hash - CDataStream ss(SER_GETHASH); + CDataStream ss(SER_GETHASH, 0); ss.reserve(10000); ss << txTmp << nHashType; return Hash(ss.begin(), ss.end()); |