Fix unit value (#1223)
This commit is contained in:
parent
dbb5d9944d
commit
84319ab9a1
|
@ -157,7 +157,7 @@ class RequestPayment extends React.Component<Props, {}> {
|
|||
!gasLimit ||
|
||||
!gasLimit.raw.length ||
|
||||
!currentTo.length ||
|
||||
(unit !== 'ether' && !tokenContractAddress.length)
|
||||
(unit !== 'ETH' && !tokenContractAddress.length)
|
||||
) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue