Skip to content

Commit

Permalink
update doc domment
Browse files Browse the repository at this point in the history
  • Loading branch information
leohhhn committed Apr 29, 2024
1 parent 4cfe818 commit b491bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/gnoclient/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *Client) Block(height int64) (*ctypes.ResultBlock, error)
func (c *Client) BlockResult(height int64) (*ctypes.ResultBlockResults, error)
```

`BlockResult` gets the latest block results at height, if any. Height must be larger than 0.
`BlockResult` gets the block results at height, if any. Height must be larger than 0.

### func \(\*Client\) [LatestBlockHeight](<https://github.com/gnolang/gno/blob/master/gno.land/pkg/gnoclient/client_queries.go#L168>)

Expand Down
2 changes: 1 addition & 1 deletion gno.land/pkg/gnoclient/client_queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (c *Client) Block(height int64) (*ctypes.ResultBlock, error) {
return block, nil
}

// BlockResult gets the latest block results at height, if any
// BlockResult gets the block results at height, if any
// Height must be larger than 0
func (c *Client) BlockResult(height int64) (*ctypes.ResultBlockResults, error) {
if err := c.validateRPCClient(); err != nil {
Expand Down

0 comments on commit b491bc3

Please sign in to comment.