Fix an invocation

This commit is contained in:
Leonid Logvinov 2017-12-12 13:56:19 +01:00
parent 1647e45247
commit 16a970b65d
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -62,7 +62,7 @@ export class AddressInput extends React.Component<AddressInputProps, AddressInpu
}
private onOrderTakerAddressUpdated(e: any) {
const address = e.target.value.toLowerCase();
const isValidAddress = isAddress(address) || address === '';
const isValidAddress = addressUtils.isAddress(address) || address === '';
const errMsg = isValidAddress ? '' : 'Invalid ethereum address';
this.setState({
address,