Skip to content

Commit 6e9e31e

Browse files
committed
fix typo: P2WSH -> P2WPKH
1 parent ebc85bf commit 6e9e31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class P2WPKHBitcoinAddress(CBech32BitcoinAddress):
315315

316316
@classmethod
317317
def from_scriptPubKey(cls, scriptPubKey):
318-
"""Convert a scriptPubKey to a P2WSH address
318+
"""Convert a scriptPubKey to a P2WPKH address
319319
320320
Raises CBitcoinAddressError if the scriptPubKey isn't of the correct
321321
form.

0 commit comments

Comments
 (0)