Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Fix LTC address validation (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
veado authored Jun 14, 2021
1 parent 3b5e723 commit 4e01f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/wallet/txs/send/SendFormLTC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const SendFormLTC: React.FC<Props> = (props): JSX.Element => {
if (!value) {
return Promise.reject(intl.formatMessage({ id: 'wallet.errors.address.empty' }))
}
if (!addressValidation(value.toLowerCase())) {
if (!addressValidation(value)) {
return Promise.reject(intl.formatMessage({ id: 'wallet.errors.address.invalid' }))
}
},
Expand Down

0 comments on commit 4e01f2b

Please sign in to comment.