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