Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fish-sammy committed Sep 18, 2023
1 parent 98ae33a commit 6f9f4ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions x/nexus/keeper/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func TestMigrate6to7(t *testing.T) {
k.GetParams(ctx)
})

assert.Len(t, actual, 0)
assert.Len(t, k.GetParams(ctx).ConnectionRouter, 0)
assert.Equal(t, types.DefaultParams().ConnectionRouter, actual)
assert.Equal(t, types.DefaultParams().ConnectionRouter, k.GetParams(ctx).ConnectionRouter)
}).
Run(t)

Expand Down
2 changes: 1 addition & 1 deletion x/nexus/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func DefaultParams() Params {
ChainMaintainerMissingVoteThreshold: utils.NewThreshold(20, 100),
ChainMaintainerIncorrectVoteThreshold: utils.NewThreshold(15, 100),
ChainMaintainerCheckWindow: 500,
ConnectionRouter: nil,
ConnectionRouter: sdk.AccAddress{},
}
}

Expand Down

0 comments on commit 6f9f4ea

Please sign in to comment.