OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
edit bytom bench segwit (#591)
[bytom/vapor.git]
/
consensus
/
general.go
diff --git
a/consensus/general.go
b/consensus/general.go
index
7507c5a
..
9b1da10
100644
(file)
--- a/
consensus/general.go
+++ b/
consensus/general.go
@@
-245,12
+245,12
@@
func BlockSubsidy(height uint64) uint64 {
// BytomMainNetParams is the config for bytom mainnet
func BytomMainNetParams(vaporParam *Params) *Params {
// BytomMainNetParams is the config for bytom mainnet
func BytomMainNetParams(vaporParam *Params) *Params {
- bech32HRPSegwit := "s
m
"
+ bech32HRPSegwit := "s
n
"
switch vaporParam.Name {
case "main":
switch vaporParam.Name {
case "main":
- bech32HRPSegwit = "b
m
"
+ bech32HRPSegwit = "b
n
"
case "test":
case "test":
- bech32HRPSegwit = "t
m
"
+ bech32HRPSegwit = "t
n
"
}
return &Params{Bech32HRPSegwit: bech32HRPSegwit}
}
}
return &Params{Bech32HRPSegwit: bech32HRPSegwit}
}
@@
-263,4
+263,3
@@
func InitActiveNetParams(chainID string) error {
}
return nil
}
}
return nil
}
-