fix(Wallet): fix sending ETH
This commit is contained in:
parent
ffa9a93042
commit
68a1bee51c
|
@ -35,7 +35,7 @@ ModalPopup {
|
||||||
function sendTransaction() {
|
function sendTransaction() {
|
||||||
stack.currentGroup.isPending = true
|
stack.currentGroup.isPending = true
|
||||||
let success = false
|
let success = false
|
||||||
if(txtAmount.selectedAsset.address === ""){
|
if(txtAmount.selectedAsset.address === "" || txtAmount.selectedAsset.address === Constants.zeroAddress){
|
||||||
success = walletModel.transactionsView.transferEth(
|
success = walletModel.transactionsView.transferEth(
|
||||||
selectFromAccount.selectedAccount.address,
|
selectFromAccount.selectedAccount.address,
|
||||||
selectRecipient.selectedRecipient.address,
|
selectRecipient.selectedRecipient.address,
|
||||||
|
|
Loading…
Reference in New Issue