Skip to content

Commit b8b0dcc

Browse files
committed
Update: no EC multiply quick usage example
1 parent 08d86b9 commit b8b0dcc

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PASSPHRASE: str = "meherett" # u"\u03D2\u0301\u0000\U00010400\U0001F4A9"
5353
NETWORK: Literal["mainnet", "testnet"] = "mainnet"
5454
# To show detail
5555
DETAIL: bool = True
56-
# Wallet Wallet Important Format's
56+
# Wallet Important Format's
5757
WIFs: List[str] = [
5858
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif", network=NETWORK), # No compression
5959
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif-compressed", network=NETWORK) # Compression

docs/index.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ _______________
6262
from bip38 import (
6363
private_key_to_wif, bip38_encrypt, bip38_decrypt
6464
)
65-
from typing import List
65+
from typing import (
66+
List, Literal
67+
)
6668

6769
import json
6870

@@ -76,8 +78,8 @@ _______________
7678
DETAIL: bool = True
7779
# Wallet important format's
7880
WIFs: List[str] = [
79-
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif"), # No compression
80-
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif-compressed") # Compression
81+
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif", network=NETWORK), # No compression
82+
private_key_to_wif(private_key=PRIVATE_KEY, wif_type="wif-compressed", network=NETWORK) # Compression
8183
]
8284

8385
for WIF in WIFs:
@@ -147,7 +149,9 @@ EC multiply:
147149
from bip38 import (
148150
intermediate_code, create_new_encrypted_wif, confirm_code, bip38_decrypt
149151
)
150-
from typing import List
152+
from typing import (
153+
List, Literal
154+
)
151155

152156
import json
153157
import os

0 commit comments

Comments
 (0)