mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 02:52:19 +00:00
20 lines
292 B
Go
20 lines
292 B
Go
package consensusconfig
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/ledgerwatch/erigon/params/networkname"
|
|
)
|
|
|
|
//go:embed poasokol.json
|
|
var Sokol []byte
|
|
|
|
func GetConfigByChain(chainName string) []byte {
|
|
switch chainName {
|
|
case networkname.SokolChainName:
|
|
return Sokol
|
|
default:
|
|
return Sokol
|
|
}
|
|
}
|