fix(Wallet): fix sending ETH

This commit is contained in:
Jonathan Rainville 2021-11-04 16:02:06 -04:00 committed by Iuri Matias
parent ffa9a93042
commit 68a1bee51c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ ModalPopup {
function sendTransaction() {
stack.currentGroup.isPending = true
let success = false
if(txtAmount.selectedAsset.address === ""){
if(txtAmount.selectedAsset.address === "" || txtAmount.selectedAsset.address === Constants.zeroAddress){
success = walletModel.transactionsView.transferEth(
selectFromAccount.selectedAccount.address,
selectRecipient.selectedRecipient.address,