diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-09-02 18:19:01 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-09-27 09:25:15 +0200 |
commit | 4731cab8fbff51a8178c85d572e2482040278616 (patch) | |
tree | 09ba06a320b4876f9318a5b9ff086e5cae9c48fe /src/test/script_tests.cpp | |
parent | 2f71490d21796594ca6f55e375558944de9db5a0 (diff) |
Do not shadow variables
Diffstat (limited to 'src/test/script_tests.cpp')
-rw-r--r-- | src/test/script_tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 5a9aaf9bc0..dad82baed5 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -323,10 +323,10 @@ public: return *this; } - TestBuilder& Add(const CScript& script) + TestBuilder& Add(const CScript& _script) { DoPush(); - spendTx.vin[0].scriptSig += script; + spendTx.vin[0].scriptSig += _script; return *this; } @@ -343,8 +343,8 @@ public: return *this; } - TestBuilder& Push(const CScript& script) { - DoPush(std::vector<unsigned char>(script.begin(), script.end())); + TestBuilder& Push(const CScript& _script) { + DoPush(std::vector<unsigned char>(_script.begin(), _script.end())); return *this; } |