Remove unnecessary synchronous call to useForkRules

pull/2/head
Jaquee 7 years ago
parent c68c317776
commit 3adb29bc16

@ -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