Litecoin: fix BIP32 version bytes (#404)
This commit is contained in:
parent
77f0a3dca9
commit
1e6b30fd76
@ -569,8 +569,8 @@ class Litecoin(Coin):
|
|||||||
NAME = "Litecoin"
|
NAME = "Litecoin"
|
||||||
SHORTNAME = "LTC"
|
SHORTNAME = "LTC"
|
||||||
NET = "mainnet"
|
NET = "mainnet"
|
||||||
XPUB_VERBYTES = bytes.fromhex("019d9cfe")
|
XPUB_VERBYTES = bytes.fromhex("0488b21e")
|
||||||
XPRV_VERBYTES = bytes.fromhex("019da462")
|
XPRV_VERBYTES = bytes.fromhex("0488ade4")
|
||||||
P2PKH_VERBYTE = bytes.fromhex("30")
|
P2PKH_VERBYTE = bytes.fromhex("30")
|
||||||
P2SH_VERBYTES = [bytes.fromhex("32"), bytes.fromhex("05")]
|
P2SH_VERBYTES = [bytes.fromhex("32"), bytes.fromhex("05")]
|
||||||
WIF_BYTE = bytes.fromhex("b0")
|
WIF_BYTE = bytes.fromhex("b0")
|
||||||
@ -596,8 +596,8 @@ class Litecoin(Coin):
|
|||||||
class LitecoinTestnet(Litecoin):
|
class LitecoinTestnet(Litecoin):
|
||||||
SHORTNAME = "XLT"
|
SHORTNAME = "XLT"
|
||||||
NET = "testnet"
|
NET = "testnet"
|
||||||
XPUB_VERBYTES = bytes.fromhex("0436ef7d")
|
XPUB_VERBYTES = bytes.fromhex("043587cf")
|
||||||
XPRV_VERBYTES = bytes.fromhex("0436f6e1")
|
XPRV_VERBYTES = bytes.fromhex("04358394")
|
||||||
P2PKH_VERBYTE = bytes.fromhex("6f")
|
P2PKH_VERBYTE = bytes.fromhex("6f")
|
||||||
P2SH_VERBYTES = [bytes.fromhex("3a"), bytes.fromhex("c4")]
|
P2SH_VERBYTES = [bytes.fromhex("3a"), bytes.fromhex("c4")]
|
||||||
WIF_BYTE = bytes.fromhex("ef")
|
WIF_BYTE = bytes.fromhex("ef")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user