diff options
author | Determinant <[email protected]> | 2019-08-30 10:10:19 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-30 10:10:19 -0400 |
commit | 377c4df9de38f0ece0e4627abf4660431987ad8a (patch) | |
tree | 03498990140739e8a29d43dd6e2fd697e15b5e0b /coreth.go | |
parent | 0424afc658dae706b017aeb3d6208026c1f6f547 (diff) |
...
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 |