Skip to content

Commit

Permalink
fix: query denom-metadata cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Feb 27, 2025
1 parent 4bd4690 commit 1c6a2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/cosmos/chain_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ func (tn *ChainNode) QueryParam(ctx context.Context, subspace, key string) (*Par

// QueryBankMetadata returns the bank metadata of a token denomination.
func (tn *ChainNode) QueryBankMetadata(ctx context.Context, denom string) (*BankMetaData, error) {
stdout, _, err := tn.ExecQuery(ctx, "bank", "denom-metadata", "--denom", denom)
stdout, _, err := tn.ExecQuery(ctx, "bank", "denom-metadata", denom)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 1c6a2ff

Please sign in to comment.