diff --git a/bip-0119.mediawiki b/bip-0119.mediawiki index cd7c8aaf..99a91501 100644 --- a/bip-0119.mediawiki +++ b/bip-0119.mediawiki @@ -217,7 +217,8 @@ def get_default_check_template_precomputed_data(self): # If there are no scriptSigs we do not need to precompute a hash if any(inp.scriptSig for inp in self.vin): result["scriptSigs"] = sha256(b"".join(ser_string(inp.scriptSig) for inp in self.vin)) - # The same value is also pre-computed for and defined in BIP-341 and can be shared + # The same value is also pre-computed for and defined in BIP-341 and can be shared. + # each nSequence is packed as 4 byte unsigned integer (little endian) result["sequences"] = sha256(b"".join(struct.pack("