mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-19 18:41:29 +00:00
Remove unnecessary synchronous call to useForkRules
This commit is contained in:
parent
c68c317776
commit
3adb29bc16
1 changed files with 3 additions and 8 deletions
|
@ -686,14 +686,9 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
function updatePriorityDropdown() {
|
function updatePriorityDropdown() {
|
||||||
// Use new fee multipliers after v5 fork
|
|
||||||
if (typeof currentWallet != "undefined" && currentWallet.useForkRules(5)) {
|
|
||||||
priorityDropdown.dataModel = priorityModelV5;
|
priorityDropdown.dataModel = priorityModelV5;
|
||||||
priorityDropdown.currentIndex = 1
|
priorityDropdown.currentIndex = 1
|
||||||
} else {
|
priorityDropdown.update()
|
||||||
priorityDropdown.dataModel = priorityModel;
|
|
||||||
priorityDropdown.currentIndex = 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Add daemon sync status
|
//TODO: Add daemon sync status
|
||||||
|
|
Loading…
Reference in a new issue