Skip to content

Commit

Permalink
chore: add comment to clarify 3
Browse files Browse the repository at this point in the history
  • Loading branch information
h5law committed Jul 24, 2023
1 parent 61fcc38 commit 3bff024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistence/test/ibc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func TestIBC_GetIBCEvent(t *testing.T) {
}
for i, event := range events {
db.Height = int64(i + 1)
if i == 3 {
if i == 3 { // add 2 events at height 3
db.Height = int64(i)
}
require.NoError(t, db.SetIBCEvent(event))
Expand Down

0 comments on commit 3bff024

Please sign in to comment.