From a6cbb79a3f964852aa882520275dfe20eb0f886f Mon Sep 17 00:00:00 2001 From: futreall <86553580+futreall@users.noreply.github.com> Date: Thu, 3 Apr 2025 09:10:20 +0300 Subject: [PATCH] fix err `has` to `hash` reference.py --- bip-0352/reference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip-0352/reference.py b/bip-0352/reference.py index b4eaf945..3d0899ce 100755 --- a/bip-0352/reference.py +++ b/bip-0352/reference.py @@ -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.