OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5f726a
)
edit bytom bench segwit (#591)
author
wyjDoraemon
<46176410+wyjDoraemon@users.noreply.github.com>
Thu, 12 Aug 2021 06:31:58 +0000
(
01:31
-0500)
committer
GitHub
<noreply@github.com>
Thu, 12 Aug 2021 06:31:58 +0000
(14:31 +0800)
consensus/general.go
patch
|
blob
|
history
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 {
- bech32HRPSegwit := "s
m
"
+ bech32HRPSegwit := "s
n
"
switch vaporParam.Name {
case "main":
- bech32HRPSegwit = "b
m
"
+ bech32HRPSegwit = "b
n
"
case "test":
- bech32HRPSegwit = "t
m
"
+ bech32HRPSegwit = "t
n
"
}
return &Params{Bech32HRPSegwit: bech32HRPSegwit}
}
@@
-263,4
+263,3
@@
func InitActiveNetParams(chainID string) error {
}
return nil
}
-