Skip to content

Commit

Permalink
Update mana_decay_provider.go
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviasaa authored Oct 19, 2023
1 parent e5f1445 commit 84a903f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mana_decay_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ func (p *ManaDecayProvider) decay(value Mana, epochDiff EpochIndex) Mana {
aux, _ := safemath.Safe64MulShift(uint64(value), decayFactor, p.decayFactorsExponent)

Check failure on line 87 in mana_decay_provider.go

View workflow job for this annotation

GitHub Actions / test_and_benchmark (1.21.x, ubuntu-latest)

undefined: safemath.Safe64MulShift

Check failure on line 87 in mana_decay_provider.go

View workflow job for this annotation

GitHub Actions / test_and_benchmark (1.21.x, ubuntu-latest)

undefined: safemath.Safe64MulShift
value = Mana(aux)
}

// combine both uint64 variables to get the actual value
return value
}

Expand Down

0 comments on commit 84a903f

Please sign in to comment.