aboutsummaryrefslogtreecommitdiff
path: root/src/test/sighash_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2018-04-04 09:02:24 -0700
committerPieter Wuille <[email protected]>2018-04-13 09:07:27 -0700
commit6a7456ad6072f405e8b02bffa0fb4e9f0cfe71e0 (patch)
tree90162c46919ee3d6ce683f5ff575fec5f917e5ae /src/test/sighash_tests.cpp
parentDelete unused non-const-iterator CSCript::GetOp overloads (diff)
downloaddiscoin-6a7456ad6072f405e8b02bffa0fb4e9f0cfe71e0.tar.xz
discoin-6a7456ad6072f405e8b02bffa0fb4e9f0cfe71e0.zip
[MOVEONLY] Move CSCript::FindAndDelete to interpreter
Diffstat (limited to 'src/test/sighash_tests.cpp')
-rw-r--r--src/test/sighash_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp
index a2bd8998b..6b8856ef4 100644
--- a/src/test/sighash_tests.cpp
+++ b/src/test/sighash_tests.cpp
@@ -35,7 +35,7 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
// In case concatenating two scripts ends up with two codeseparators,
// or an extra one at the end, this prevents all those possible incompatibilities.
- scriptCode.FindAndDelete(CScript(OP_CODESEPARATOR));
+ FindAndDelete(scriptCode, CScript(OP_CODESEPARATOR));
// Blank out other inputs' signatures
for (unsigned int i = 0; i < txTmp.vin.size(); i++)