Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Flaxman committed Nov 16, 2020
1 parent 1992134 commit 70c6efc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions multiwallet_gui/seedpicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,14 @@ def process_submit(self):
informative_text=err_str,
)

IS_TESTNET = True # TESTNET ONLY FOR NOW
if self.mainnet_button.isChecked():
IS_TESTNET = self.testnet_button.isChecked()
if IS_TESTNET:
PATH = "m/48'/1'/0'/2'"
SLIP132_VERSION_BYTES = "02575483"
else:
# Mainnet
PATH = "m/48'/0'/0'/2'"
SLIP132_VERSION_BYTES = "02aa7ed3"
else:
# Testent
PATH = "m/48'/1'/0'/2'"
SLIP132_VERSION_BYTES = "02575483"

last_word = valid_checksum_words[0]
hd_priv = HDPrivateKey.from_mnemonic(first_words + " " + last_word)
Expand Down

0 comments on commit 70c6efc

Please sign in to comment.