Skip to content

Commit

Permalink
fix treasury migration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yun-yeo committed Jul 8, 2021
1 parent 3cccea0 commit 1a0c58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/treasury/legacy/v05/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Migrate(
continue
}

epochStates[i] = v05treasury.EpochState{
epochStates[i-cumulativeEpochs] = v05treasury.EpochState{
Epoch: uint64(i - cumulativeEpochs),
TaxReward: treasuryGenState.TRs[i],
SeigniorageReward: treasuryGenState.SRs[i],
Expand Down

0 comments on commit 1a0c58e

Please sign in to comment.