1
0

Remove unused imports. Explicitly import a few deep imports.

This commit is contained in:
Justin Turner Arthur
2017-11-12 22:54:04 -06:00
parent 9a0aa9b478
commit 857eb4ac1d
60 changed files with 84 additions and 185 deletions

View File

@@ -35,7 +35,6 @@ import pbkdf2
from .util import print_error
from .bitcoin import is_old_seed, is_new_seed
from . import version
from . import i18n
# http://www.asahi-net.or.jp/~ax2s-kmtn/ref/unicode/e_asia.html
CJK_INTERVALS = [
@@ -164,7 +163,6 @@ class Mnemonic(object):
return i % custom_entropy == 0
def make_seed(self, seed_type='standard', num_bits=132, custom_entropy=1):
from . import version
prefix = version.seed_prefix(seed_type)
# increase num_bits in order to obtain a uniform distibution for the last word
bpw = math.log(len(self.wordlist), 2)