Skip to content

Commit

Permalink
SLIP0044 - BTCP is 183
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Layton committed Mar 2, 2018
1 parent 5219d34 commit 956d515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/keystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def is_private_key_list(text):


def bip44_derivation(account_id, bip43_purpose=44):
coin = 1 if bitcoin.NetworkConstants.TESTNET else 0
coin = 1 if bitcoin.NetworkConstants.TESTNET else 183
return "m/%d'/%d'/%d'" % (bip43_purpose, coin, int(account_id))

def from_seed(seed, passphrase, is_p2sh):
Expand Down

0 comments on commit 956d515

Please sign in to comment.