mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 19:18:53 +00:00
parent
50fef581a5
commit
8f4e50d6a7
@ -493,7 +493,7 @@ QtObject {
|
||||
}
|
||||
|
||||
function estimateGas(from_addr, to, assetAddress, value, data) {
|
||||
return walletSectionTransactions.estimateGas(from_addr, to, assetAddress, value, data)
|
||||
return walletSectionTransactions.estimateGas(from_addr, to, assetAddress, value === "" ? "0.00" : value, data)
|
||||
}
|
||||
|
||||
function transferEth(from, to, amount, gasLimit, gasPrice, tipLimit, overallLimit, password, uuid) {
|
||||
|
@ -182,7 +182,8 @@ StatusModal {
|
||||
id: gasValidator
|
||||
anchors.top: gasSelector.bottom
|
||||
selectedAccount: advancedHeader.accountSelector.selectedAccount
|
||||
selectedAmount: parseFloat(advancedHeader.amountToSendInput.text)
|
||||
selectedAmount: advancedHeader.amountToSendInput.text === "" ? 0.0
|
||||
: parseFloat(advancedHeader.amountToSendInput.text)
|
||||
selectedAsset: advancedHeader.assetSelector.selectedAsset
|
||||
selectedGasEthValue: gasSelector.selectedGasEthValue
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user