From 9afbe23e68283133af6f4aed422585b366ee7f7a Mon Sep 17 00:00:00 2001 From: Lee ByeongJun Date: Thu, 19 Sep 2024 14:52:34 +0900 Subject: [PATCH] fix --- tm2/pkg/bft/rpc/client/batch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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