aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-09-26 22:19:04 -0400
committerDeterminant <[email protected]>2019-09-26 22:19:04 -0400
commitf3f0b274f2b8aad466b51448f2fbd2d2b8a4d1db (patch)
tree8b758b3c0d89cadcf9021acf0db206ab215d2663 /examples
parenta96fc7a942fb6f0a9da5b5bf9c84a98af42a24dc (diff)
expose the database interface
Diffstat (limited to 'examples')
-rw-r--r--examples/chain/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chain/main.go b/examples/chain/main.go
index 92350d3..d129acb 100644
--- a/examples/chain/main.go
+++ b/examples/chain/main.go
@@ -47,7 +47,7 @@ func NewTestChain(name string, config *eth.Config,
hasBlock: make(map[common.Hash]struct{}),
blocks: make([]common.Hash, 0),
blkCount: 0,
- chain: coreth.NewETHChain(config, nil, nil),
+ chain: coreth.NewETHChain(config, nil, nil, nil),
outBlockCh: outBlockCh,
}
tc.insertBlock(tc.chain.GetGenesisBlock())