mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-24 06:11:12 +02:00
[TESTS] Move base58 to own module to break circular dependency
This breaks the script->key->address->script dependency cycle.
This commit is contained in:
committed by
Pieter Wuille
parent
f8364df250
commit
c75de5da5f
@@ -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