Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon committed Sep 19, 2024
1 parent d1ff7ce commit 9afbe23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tm2/pkg/bft/rpc/client/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (b *RPCBatch) ABCIQueryWithOptions(path string, data []byte, opts ABCIQuery
"data": data,
"prove": opts.Prove,
}
if opts.Height != 0 {
if opts.Height > 0 {
params["height"] = opts.Height
}
// Prepare the RPC request
Expand Down

0 comments on commit 9afbe23

Please sign in to comment.