mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Do not shadow variables
This commit is contained in:
parent
2f71490d21
commit
4731cab8fb
15 changed files with 89 additions and 89 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue