mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-05 21:56:50 +00:00
[NOD-575] Change devent address prefix to kaspadev. (#598)
This commit is contained in:
parent
c0463a8a68
commit
ed606bfda3
@ -448,7 +448,7 @@ var DevnetParams = Params{
|
||||
AcceptUnroutable: true,
|
||||
|
||||
// Human-readable part for Bech32 encoded addresses
|
||||
Prefix: util.Bech32PrefixKaspaTest,
|
||||
Prefix: util.Bech32PrefixKaspaDev,
|
||||
|
||||
// Address encoding magics
|
||||
PrivateKeyID: 0xef, // starts with 9 (uncompressed) or c (compressed)
|
||||
|
@ -43,6 +43,9 @@ const (
|
||||
// Prefix for the main network.
|
||||
Bech32PrefixKaspa
|
||||
|
||||
// Prefix for the dev network.
|
||||
Bech32PrefixKaspaDev
|
||||
|
||||
// Prefix for the regression test network.
|
||||
Bech32PrefixKaspaReg
|
||||
|
||||
@ -56,6 +59,7 @@ const (
|
||||
// Map from strings to Bech32 address prefix constants for parsing purposes.
|
||||
var stringsToBech32Prefixes = map[string]Bech32Prefix{
|
||||
"kaspa": Bech32PrefixKaspa,
|
||||
"kaspadev": Bech32PrefixKaspaDev,
|
||||
"kaspareg": Bech32PrefixKaspaReg,
|
||||
"kaspatest": Bech32PrefixKaspaTest,
|
||||
"kaspasim": Bech32PrefixKaspaSim,
|
||||
|
Loading…
x
Reference in New Issue
Block a user