[TESTS] Move base58 to own module to break circular dependency
This breaks the script->key->address->script dependency cycle.
This commit is contained in:
1 parent
f8364df250
commit
c75de5da5f
4 files changed
+74
-71
No files matched your search
@@ -8,7 +8,7 @@ keys, and is trivially vulnerable to side channel attacks. Do not use for
|
||||
anything but tests."""
|
||||
import random
|
||||
|
||||
from .address import byte_to_base58
|
||||
from .base58 import byte_to_base58
|
||||
|
||||
def modinv(a, n):
|
||||
"""Compute the modular inverse of a modulo n
|
||||
|
||||
Reference in new issue
Block a user