diff --git a/x/ibc/02-client/client/utils/utils.go b/x/ibc/02-client/client/utils/utils.go index fb3c060462..7e453f0a5b 100644 --- a/x/ibc/02-client/client/utils/utils.go +++ b/x/ibc/02-client/client/utils/utils.go @@ -181,7 +181,7 @@ func QueryNodeConsensusState(clientCtx client.Context) (*ibctmtypes.ConsensusSta return &ibctmtypes.ConsensusState{}, 0, err } - page := 0 + page := 1 count := 10_000 nextHeight := height + 1 diff --git a/x/ibc/03-connection/client/utils/utils.go b/x/ibc/03-connection/client/utils/utils.go index 3e8eb823da..49db5c3041 100644 --- a/x/ibc/03-connection/client/utils/utils.go +++ b/x/ibc/03-connection/client/utils/utils.go @@ -92,7 +92,7 @@ func queryClientConnectionsABCI(clientCtx client.Context, clientID string) (*typ } var paths []string - if err := clientCtx.LegacyAmino.UnmarshalBinaryBare(value, paths); err != nil { + if err := clientCtx.LegacyAmino.UnmarshalBinaryBare(value, &paths); err != nil { return nil, err }