Remove FindAndDelete. refs #1386
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
@@ -35,10 +35,6 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
|
||||
}
|
||||
CMutableTransaction txTmp(txTo);
|
||||
|
||||
// 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));
|
||||
|
||||
// Blank out other inputs' signatures
|
||||
for (unsigned int i = 0; i < txTmp.vin.size(); i++)
|
||||
txTmp.vin[i].scriptSig = CScript();
|
||||
|
||||
Reference in New Issue
Block a user