Skip to content

Commit d365d78

Browse files
fixed a bug with segwit addresses
1 parent 9317afe commit d365d78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hdwallet/cryptocurrencies.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class AviancoinMainnet(Cryptocurrency):
368368
PUBLIC_KEY_ADDRESS = 0x3c
369369
SEGWIT_ADDRESS = SegwitAddress({
370370
"HRP": "av",
371-
"VERSION": 0x29
371+
"VERSION": 0x0d
372372
})
373373

374374
EXTENDED_PRIVATE_KEY = ExtendedPrivateKey({
@@ -2208,7 +2208,7 @@ class EvrmoreMainnet(Cryptocurrency):
22082208
PUBLIC_KEY_ADDRESS = 0x21
22092209
SEGWIT_ADDRESS = SegwitAddress({
22102210
"HRP": "ev",
2211-
"VERSION": 0x18
2211+
"VERSION": 0x0b
22122212
})
22132213

22142214
EXTENDED_PRIVATE_KEY = ExtendedPrivateKey({
@@ -5046,7 +5046,7 @@ class RavencoinMainnet(Cryptocurrency):
50465046
PUBLIC_KEY_ADDRESS = 0x3c
50475047
SEGWIT_ADDRESS = SegwitAddress({
50485048
"HRP": "rv",
5049-
"VERSION": 0x15
5049+
"VERSION": 0x0a
50505050
})
50515051

50525052
EXTENDED_PRIVATE_KEY = ExtendedPrivateKey({

0 commit comments

Comments
 (0)