miner actor: Skip muldiv if frac == 1

This commit is contained in:
Łukasz Magiera 2019-09-20 16:21:00 +02:00
parent b3a0ec9155
commit d2fdb058ef

View File

@ -758,7 +758,7 @@ func slasherShare(total types.BigInt, elapsed uint64) types.BigInt {
var frac uint64
if elapsed >= uint64(len(fracs)) {
frac = precision
return total
} else {
frac = fracs[elapsed]
}