mirror of
https://github.com/bitcoin/bips.git
synced 2024-11-19 01:40:05 +01:00
commit
62161fb705
@ -114,7 +114,7 @@ Refer to the reference implementation, reproduced below, for the precise algorit
|
|||||||
ss << hashSequence;
|
ss << hashSequence;
|
||||||
// The input being signed (replacing the scriptSig with scriptCode + amount)
|
// The input being signed (replacing the scriptSig with scriptCode + amount)
|
||||||
// The prevout may already be contained in hashPrevout, and the nSequence
|
// The prevout may already be contained in hashPrevout, and the nSequence
|
||||||
// may already be contain in hashSequence.
|
// may already be contained in hashSequence.
|
||||||
ss << txTo.vin[nIn].prevout;
|
ss << txTo.vin[nIn].prevout;
|
||||||
ss << static_cast<const CScriptBase&>(scriptCode);
|
ss << static_cast<const CScriptBase&>(scriptCode);
|
||||||
ss << amount;
|
ss << amount;
|
||||||
|
Loading…
Reference in New Issue
Block a user