aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreth.go4
1 files changed, 4 insertions, 0 deletions
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