diff --git a/new-lamassu-admin/src/pages/Wizard/components/Wallet/getItems.js b/new-lamassu-admin/src/pages/Wizard/components/Wallet/getItems.js index e84b04ce..f3ff48de 100644 --- a/new-lamassu-admin/src/pages/Wizard/components/Wallet/getItems.js +++ b/new-lamassu-admin/src/pages/Wizard/components/Wallet/getItems.js @@ -13,8 +13,8 @@ export const getItems = (accountsConfig, accounts, type, crypto) => { const account = find(code) if (!schema[code]) return true - const { validationSchema } = schema[code] - return validationSchema.isValidSync(account) + const { getValidationSchema } = schema[code] + return getValidationSchema(account).isValidSync(account) })(fConfig) return { filled, unfilled }