1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00

Merge pull request #1625 from OrfeasLitos/typo

BIP143: fix typo
This commit is contained in:
Jon Atack 2024-06-25 16:28:48 +00:00 committed by GitHub
commit 62161fb705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;