Skip to content

Commit

Permalink
fix: enforce minimum decimal value
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Jan 31, 2024
1 parent b79cf32 commit 0a7b435
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/strategies/erc20-balance-of/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"decimals": {
"type": "number",
"title": "Decimals",
"examples": ["e.g. 18"]
"examples": ["e.g. 18"],
"minimum": 0
}
},
"required": ["address", "decimals"],
Expand Down

0 comments on commit 0a7b435

Please sign in to comment.