aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
Diffstat (limited to 'coreth.go')
-rw-r--r--coreth.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreth.go b/coreth.go
index 8cc5f77..019f480 100644
--- a/coreth.go
+++ b/coreth.go
@@ -37,6 +37,7 @@ func isLocalBlock(block *types.Block) bool {
return false
}
+// NewETHChain creates an Ethereum blockchain with the given configs.
func NewETHChain(config *eth.Config, nodecfg *node.Config, etherBase *common.Address, chainDB ethdb.Database) *ETHChain {
if config == nil {
config = &eth.DefaultConfig