From 377c4df9de38f0ece0e4627abf4660431987ad8a Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 30 Aug 2019 10:10:19 -0400 Subject: ... --- coreth.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coreth.go b/coreth.go index f7c54d6..1683024 100644 --- a/coreth.go +++ b/coreth.go @@ -121,6 +121,10 @@ func (self *ETHChain) GetGenesisBlock() *types.Block { return self.backend.BlockChain().Genesis() } +func (self *ETHChain) InsertChain(chain []*types.Block) (int, error) { + return self.backend.BlockChain().InsertChain(chain) +} + type Key struct { Address common.Address PrivateKey *ecdsa.PrivateKey -- cgit v1.2.3