Skip to content

Commit

Permalink
fixes #2394 (#2395)
Browse files Browse the repository at this point in the history
* fixes #2394

* fix linter
  • Loading branch information
nicoelzer authored Jan 20, 2021
1 parent 50dda06 commit cc1e380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Proposal/Create/SchemeForms/Validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const requireValue = (value: any): string => {
*/
export const validateParamValue = (type: string, value: string): undefined | string => {
if (isAddressType(type)) {
if (!isAddress(value)) {
if (!isAddress(value, true)) {
return "Must be a valid address";
}
}
Expand Down

0 comments on commit cc1e380

Please sign in to comment.