Skip to content

Commit

Permalink
fix: handle CELO capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux committed Mar 20, 2024
1 parent 8ceef09 commit d72868a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const parseAddress: ParseFn<StrongAddress> = async (input) => {
}
}
const parseGasCurrency: ParseFn<StrongAddress | 'CELO'> = async (input) => {
if (input === 'CELO') {
if (input.toUpperCase() === 'CELO') {
return 'CELO'
}
if (Web3.utils.isAddress(input)) {
Expand Down

0 comments on commit d72868a

Please sign in to comment.