diff --git a/btcpy/structs/hd.py b/btcpy/structs/hd.py index ffa2cad..8443a90 100644 --- a/btcpy/structs/hd.py +++ b/btcpy/structs/hd.py @@ -36,7 +36,7 @@ def master(cls, key, chaincode): @classmethod def decode(cls, string, check_network=True): - if string[0] == 'x': + if string[0] == 'x' or string[0] == 'y': mainnet = True elif string[0] == 't': mainnet = False