diff options
Diffstat (limited to 'coreth.go')
-rw-r--r-- | coreth.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |