diff --git a/chain/types/blockheader.go b/chain/types/blockheader.go index 5fb72545b..1a1d5b875 100644 --- a/chain/types/blockheader.go +++ b/chain/types/blockheader.go @@ -184,7 +184,7 @@ func PowerCmp(eproof ElectionProof, mpow, totpow BigInt) bool { rhs = rhs.Mul(rhs, blocksPerEpoch.Int) // return true if lhs is less than or equal to rhs - return lhs.Cmp(rhs) < 1 + return lhs.Cmp(rhs) <= 0 } func (t *Ticket) Equals(ot *Ticket) bool {