mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Merge pull request #1811 from futreall/master
BIP352: minor docstring fixups
This commit is contained in:
commit
3ccc59dbdb
@ -36,7 +36,7 @@ def get_pubkey_from_input(vin: VinInfo) -> ECPubKey:
|
||||
if i - 33 >= 0:
|
||||
# starting from the back, we move over the scriptSig with a 33 byte
|
||||
# window (to match a compressed pubkey). we hash this and check if it matches
|
||||
# the 20 byte has from the scriptPubKey. for standard scriptSigs, this will match
|
||||
# the 20 byte hash from the scriptPubKey. for standard scriptSigs, this will match
|
||||
# right away because the pubkey is the last item in the scriptSig.
|
||||
# if its a non-standard (malleated) scriptSig, we will still find the pubkey if its
|
||||
# a compressed pubkey.
|
||||
|
Loading…
x
Reference in New Issue
Block a user