Skip to content

Commit

Permalink
fix: tc
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Dec 19, 2024
1 parent 0a2ae50 commit 1e39849
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _deploy/r/gnoswap/gns/_helper_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ func resetHalvingRelatedObject(t *testing.T) {
t.Helper()

for year := int64(1); year < 13; year++ {
setHalvingYearMaxAmount(year, HALVING_AMOUNTS[year-1])
setHalvingYearMaxAmount(year, HALVING_AMOUNTS_PER_YEAR[year-1])

if year == 1 {
setHalvingYearAccuAmount(year, HALVING_AMOUNTS[year-1])
setHalvingYearAccuAmount(year, HALVING_AMOUNTS_PER_YEAR[year-1])
} else {
setHalvingYearAccuAmount(year, GetHalvingYearAccuAmount(year-1)+HALVING_AMOUNTS[year-1])
setHalvingYearAccuAmount(year, GetHalvingYearAccuAmount(year-1)+HALVING_AMOUNTS_PER_YEAR[year-1])
}

setHalvingYearBlock(year, startHeight+BLOCK_PER_YEAR*year)
Expand Down

0 comments on commit 1e39849

Please sign in to comment.