segwit: use 12 bits of seed prefix

This commit is contained in:
ThomasV 2017-08-27 14:30:01 +02:00
parent 88bbaf0950
commit 5bf3b26476
1 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@ ELECTRUM_VERSION = '2.10.0' # version of the client package
PROTOCOL_VERSION = '0.10' # protocol version requested
# The hash of the mnemonic seed must begin with this
SEED_PREFIX = '01' # Electrum standard wallet
SEED_PREFIX_SW = '02' # Electrum segwit wallet
SEED_PREFIX_2FA = '101' # extended seed for two-factor authentication
SEED_PREFIX = '01' # Standard wallet
SEED_PREFIX_2FA = '101' # Two-factor authentication
SEED_PREFIX_SW = '100' # Segwit wallet
def seed_prefix(seed_type):