Revert "[TESTS] Move base58 to own module to break circular dependency"

This reverts commit c75de5da5f.
This commit is contained in:
John Newbery
2020-06-10 11:54:25 -04:00
parent 6762a627ec
commit e38081846d
4 changed files with 71 additions and 74 deletions

View File

@@ -8,7 +8,7 @@ keys, and is trivially vulnerable to side channel attacks. Do not use for
anything but tests."""
import random
from .base58 import byte_to_base58
from .address import byte_to_base58
def modinv(a, n):
"""Compute the modular inverse of a modulo n