fix typo
This commit is contained in:
parent
2a1f2e4952
commit
c2d9c2f64a
@ -54,7 +54,7 @@ func main() {
|
|||||||
rpc.EnableCache(*rpcCache)
|
rpc.EnableCache(*rpcCache)
|
||||||
}
|
}
|
||||||
|
|
||||||
if *chain != "" {
|
if *chain != "none" {
|
||||||
for _, p := range GetChainParams() {
|
for _, p := range GetChainParams() {
|
||||||
if p.Name == *chain {
|
if p.Name == *chain {
|
||||||
rpc.Parser = &BitcoinBlockParser{Params: p}
|
rpc.Parser = &BitcoinBlockParser{Params: p}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user