core: export CreateGenesisBlock

Nothing bad with it being public.
This commit is contained in:
Roman Khimov 2022-06-08 18:20:34 +03:00
parent d70caf1da1
commit 0055b18a8a
4 changed files with 6 additions and 6 deletions

View file

@ -13,8 +13,8 @@ import (
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
)
// createGenesisBlock creates a genesis block based on the given configuration.
func createGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error) {
// CreateGenesisBlock creates a genesis block based on the given configuration.
func CreateGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error) {
validators, err := validatorsFromConfig(cfg)
if err != nil {
return nil, err