mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-03 17:04:21 +01:00
squash many mypy warnings (#188)
This commit is contained in:
@@ -6,13 +6,9 @@ from typing import Any, Dict, List, Optional, TypedDict, Union
|
||||
from loguru import logger
|
||||
from pydantic import BaseModel
|
||||
|
||||
from ..core.crypto import (
|
||||
derive_keys,
|
||||
derive_keys_backwards_compatible_0_11_insecure,
|
||||
derive_keyset_id,
|
||||
derive_pubkeys,
|
||||
)
|
||||
from ..core.crypto import derive_keys, derive_keyset_id, derive_pubkeys
|
||||
from ..core.secp import PrivateKey, PublicKey
|
||||
from .legacy import derive_keys_backwards_compatible_insecure_pre_0_12
|
||||
|
||||
# ------- PROOFS -------
|
||||
|
||||
@@ -299,7 +295,7 @@ class MintKeyset:
|
||||
):
|
||||
backwards_compatibility_pre_0_12 = True
|
||||
# WARNING: Broken key derivation for backwards compatibility with < 0.12
|
||||
self.private_keys = derive_keys_backwards_compatible_0_11_insecure(
|
||||
self.private_keys = derive_keys_backwards_compatible_insecure_pre_0_12(
|
||||
seed, self.derivation_path
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user