fix: can't send transactions on browser

Fixes #2433
Fixes #2422
This commit is contained in:
Richard Ramos 2021-05-03 09:57:42 -04:00 committed by Iuri Matias
parent 89e42f960d
commit 7ee11e27e2
1 changed files with 1 additions and 2 deletions

View File

@ -77,7 +77,7 @@ Rectangle {
} }
// TODO we'll need a new dialog at one point because this one is not using the same call, but it's good for now // TODO we'll need a new dialog at one point because this one is not using the same call, but it's good for now
property Component sendTransactionModalComponent: SignTransactionModal {} property Component sendTransactionModalComponent: SignTransactionModal {}
property Component signMessageModalComponent: SignMessageModal {} property Component signMessageModalComponent: SignMessageModal {}
@ -228,7 +228,6 @@ Rectangle {
sendDialog.destroy() sendDialog.destroy()
} }
sendDialog.estimateGas()
sendDialog.open(); sendDialog.open();
walletModel.getGasPricePredictions() walletModel.getGasPricePredictions()
} else if (request.type === Constants.web3SendAsyncReadOnly && ["eth_sign", "personal_sign", "eth_signTypedData", "eth_signTypedData_v3"].indexOf(request.payload.method) > -1) { } else if (request.type === Constants.web3SendAsyncReadOnly && ["eth_sign", "personal_sign", "eth_signTypedData", "eth_signTypedData_v3"].indexOf(request.payload.method) > -1) {