lint
This commit is contained in:
parent
cfb26e6a8a
commit
651b526c50
@ -481,7 +481,7 @@ func (cp *ConsensusPoller) setBackendState(be *Backend, peerCount uint64, blockN
|
|||||||
bs.peerCount = peerCount
|
bs.peerCount = peerCount
|
||||||
bs.latestBlockNumber = blockNumber
|
bs.latestBlockNumber = blockNumber
|
||||||
bs.latestBlockHash = blockHash
|
bs.latestBlockHash = blockHash
|
||||||
updateDelay = time.Now().Sub(bs.lastUpdate)
|
updateDelay = time.Since(bs.lastUpdate)
|
||||||
bs.lastUpdate = time.Now()
|
bs.lastUpdate = time.Now()
|
||||||
bs.backendStateMux.Unlock()
|
bs.backendStateMux.Unlock()
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user