aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-30 10:10:19 -0400
committerDeterminant <[email protected]>2019-08-30 10:10:19 -0400
commit377c4df9de38f0ece0e4627abf4660431987ad8a (patch)
tree03498990140739e8a29d43dd6e2fd697e15b5e0b
parent0424afc658dae706b017aeb3d6208026c1f6f547 (diff)
...
-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