Skip to content

Commit

Permalink
fix: support 0 decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBHarley committed Jul 20, 2024
1 parent ac9a562 commit d84172f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function main() {
const missing: string[] = [];
if (!data?.name) missing.push("name");
if (!data?.symbol) missing.push("symbol");
if (!data?.decimals) missing.push("decimals");
if (typeof data?.decimals === "undefined") missing.push("decimals");
if (!data?.logoURI) missing.push("logoURI");
if (!data?.opTokenId) missing.push("opTokenId");
if (missing.length) {
Expand Down

0 comments on commit d84172f

Please sign in to comment.