mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-27 06:55:21 +00:00
build server fix
This commit is contained in:
parent
b25e8b7079
commit
35806ccc1c
@ -289,6 +289,10 @@ func (self *worker) push() {
|
||||
func (self *worker) makeCurrent() {
|
||||
block := self.chain.NewBlock(self.coinbase)
|
||||
parent := self.chain.GetBlock(block.ParentHash())
|
||||
// TMP fix for build server ...
|
||||
if parent == nil {
|
||||
return
|
||||
}
|
||||
|
||||
if block.Time() <= parent.Time() {
|
||||
block.Header().Time = parent.Header().Time + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user