Handle usage of prevector for CScript in Zcash-specific code

This commit is contained in:
Jack Grigg
2018-03-09 12:05:21 +00:00
parent 29a8ade782
commit d2fb34fb7c
2 changed files with 4 additions and 4 deletions

View File

@@ -1191,7 +1191,7 @@ uint256 SignatureHash(
// The prevout may already be contained in hashPrevout, and the nSequence
// may already be contained in hashSequence.
ss << txTo.vin[nIn].prevout;
ss << scriptCode;
ss << static_cast<const CScriptBase&>(scriptCode);
ss << amount;
ss << txTo.vin[nIn].nSequence;
}