Skip to content
Snippets Groups Projects
Commit 9a45bf67 authored by Moul's avatar Moul Committed by Vincent Texier
Browse files

[mod] Move helpers.py to tools.py to avoid confusion with the introduction of helpers

parent 04dbfcd6
No related branches found
No related tags found
2 merge requests!94Merge dev into master for release 0.56.0,!79Move tools, introduce helper to check if an output is available
...@@ -4,7 +4,7 @@ import base58 ...@@ -4,7 +4,7 @@ import base58
import re import re
import hashlib import hashlib
from ..constants import PUBKEY_REGEX from ..constants import PUBKEY_REGEX
from ..helpers import ensure_str from ..tools import ensure_str
# required to type hint cls in classmethod # required to type hint cls in classmethod
CRCPubkeyType = TypeVar("CRCPubkeyType", bound="CRCPubkey") CRCPubkeyType = TypeVar("CRCPubkeyType", bound="CRCPubkey")
......
...@@ -2,7 +2,7 @@ from typing import Union ...@@ -2,7 +2,7 @@ from typing import Union
import base58 import base58
from ..helpers import ensure_str, ensure_bytes from ..tools import ensure_str, ensure_bytes
class Base58Encoder: class Base58Encoder:
......
...@@ -10,7 +10,7 @@ from pylibscrypt import scrypt ...@@ -10,7 +10,7 @@ from pylibscrypt import scrypt
from .scrypt_params import ScryptParams from .scrypt_params import ScryptParams
from .base58 import Base58Encoder from .base58 import Base58Encoder
from ..helpers import ensure_bytes from ..tools import ensure_bytes
class SecretKey(libnacl.public.SecretKey): class SecretKey(libnacl.public.SecretKey):
......
...@@ -13,7 +13,7 @@ from pylibscrypt import scrypt ...@@ -13,7 +13,7 @@ from pylibscrypt import scrypt
from .scrypt_params import ScryptParams from .scrypt_params import ScryptParams
from .base58 import Base58Encoder from .base58 import Base58Encoder
from ..helpers import ( from ..tools import (
ensure_bytes, ensure_bytes,
xor_bytes, xor_bytes,
convert_seedhex_to_seed, convert_seedhex_to_seed,
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment