Fix unit value (#1223)

This commit is contained in:
Daniel Ternyak 2018-03-01 23:31:27 -06:00 committed by GitHub
parent dbb5d9944d
commit 84319ab9a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class RequestPayment extends React.Component<Props, {}> {
!gasLimit || !gasLimit ||
!gasLimit.raw.length || !gasLimit.raw.length ||
!currentTo.length || !currentTo.length ||
(unit !== 'ether' && !tokenContractAddress.length) (unit !== 'ETH' && !tokenContractAddress.length)
) { ) {
return ''; return '';
} }