diff --git a/tm2/pkg/bft/rpc/client/batch.go b/tm2/pkg/bft/rpc/client/batch.go index 7a64242b7d4..13eb1a4b067 100644 --- a/tm2/pkg/bft/rpc/client/batch.go +++ b/tm2/pkg/bft/rpc/client/batch.go @@ -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