aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-02-24 15:04:42 -0500
committerDeterminant <[email protected]>2020-02-24 15:04:42 -0500
commita29ec3a0ae86185db68e9be6557e1c8dde89a92c (patch)
tree3eb097316717d5ca064f3a70350ea35980504aaa /coreth.go
parentf0fdb5dfb215bebc54d2a62e54f0c7ae3e71ff91 (diff)
minor change
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