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:
Jack Zampolin
2020-09-15 09:21:42 +00:00
committed by GitHub
co-authored by colin axnér
parent 1d462c6b18
commit a8990eab71
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
}