diff options
author | Determinant <[email protected]> | 2019-08-14 15:19:28 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-14 15:19:28 -0400 |
commit | 499f682b48f914ed4af0e32ba446dd0cf56e96b4 (patch) | |
tree | 62bbe47ce4f1de674fbca9c16709c98e729b08ec /coreth.go | |
parent | 485da638c7b3ecd2e23299252848d99258fb6727 (diff) |
allow manual block generation
Diffstat (limited to 'coreth.go')
-rw-r--r-- | coreth.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,10 @@ func (self *ETHChain) Stop() { self.backend.StopPart() } +func (self *ETHChain) GenBlock() { + self.backend.Miner().GenBlock() +} + func (self *ETHChain) AddRemoteTxs(txs []*types.Transaction) []error { return self.backend.TxPool().AddRemotes(txs) } |