sync: Fix build

This commit is contained in:
Łukasz Magiera 2020-07-01 11:24:26 +02:00
parent e1799f1524
commit 4c1dfd7eda

View File

@ -1534,5 +1534,5 @@ func (syncer *Syncer) IsEpochBeyondCurrMax(epoch abi.ChainEpoch) bool {
}
now := uint64(time.Now().Unix())
return epoch > (abi.ChainEpoch((now-g.Timestamp)/build.BlockDelay) + MaxHeightDrift)
return epoch > (abi.ChainEpoch((now-g.Timestamp)/build.BlockDelaySecs) + MaxHeightDrift)
}