Transfer: fix 'call method estimateTransactionFeeAsync of undefined'

This commit is contained in:
xiphon 2020-04-29 22:33:08 +00:00
parent 4141832a4d
commit 387e643ae9

View file

@ -335,7 +335,7 @@ Rectangle {
property var fee: {
estimatedFee = null;
estimating = sendButton.enabled;
if (!sendButton.enabled) {
if (!sendButton.enabled || !currentWallet) {
return;
}
currentWallet.estimateTransactionFeeAsync(