MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / DefaultChainID

Function DefaultChainID

types/utils.go:70–82  ·  view source on GitHub ↗

DefaultChainID returns the chain ID from the genesis file if present. An error is returned if the file cannot be read or parsed. TODO: This should be removed and the chainID should always be provided by the end user.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected