From 0ea770a311fd0f6c1065943b32f08efae7c30951 Mon Sep 17 00:00:00 2001 From: Kyle Honeycutt Date: Tue, 3 Dec 2019 20:58:41 -0800 Subject: [PATCH] README example from_wif() Correction to example in README for private key from wif `form_wif()` to `from_wif()` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ab8cbf..36d476a 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ privk = PrivateKey.unhexlify(privk_hex) ``` `PrivateKey` can also be extracted from a Wallet Import Format by doing: ```python ->>> privk = PrivateKey.form_wif(wif_key) +>>> privk = PrivateKey.from_wif(wif_key) ``` All these structures can be converted back to hex by using their `hexlify()` method.