Quick fixes for IBC (#7302)
* Fix page variable for querying consensus state of a node * Add pointer where required Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
This commit is contained in:
co-authored by
colin axnér
parent
1d462c6b18
commit
a8990eab71
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user