aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.h
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-11-10 08:00:05 +0100
committerPavel Janík <Pavel@Janik.cz>2016-12-05 11:41:46 +0100
commit9de90bb749926a51aac15d5998bff3e12425675e (patch)
treec8f36dfda28f69e8f90ea8bffb668a927d031e8c /src/script/interpreter.h
parent43e8150ef69093c906c4406ce58c1fd21fee898e (diff)
Do not shadow variables (gcc set)
Diffstat (limited to 'src/script/interpreter.h')
-rw-r--r--src/script/interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/interpreter.h b/src/script/interpreter.h
index 79894c5300..60f6f711e6 100644
--- a/src/script/interpreter.h
+++ b/src/script/interpreter.h
@@ -171,7 +171,7 @@ private:
const CTransaction txTo;
public:
- MutableTransactionSignatureChecker(const CMutableTransaction* txToIn, unsigned int nInIn, const CAmount& amount) : TransactionSignatureChecker(&txTo, nInIn, amount), txTo(*txToIn) {}
+ MutableTransactionSignatureChecker(const CMutableTransaction* txToIn, unsigned int nInIn, const CAmount& amountIn) : TransactionSignatureChecker(&txTo, nInIn, amountIn), txTo(*txToIn) {}
};
bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, unsigned int flags, const BaseSignatureChecker& checker, SigVersion sigversion, ScriptError* error = NULL);