Remove unnecessary synchronous call to useForkRules

This commit is contained in:
Jaquee 2017-08-19 11:30:50 +02:00
parent c68c317776
commit 3adb29bc16

View file

@ -686,14 +686,9 @@ Rectangle {
} }
function updatePriorityDropdown() { function updatePriorityDropdown() {
// Use new fee multipliers after v5 fork priorityDropdown.dataModel = priorityModelV5;
if (typeof currentWallet != "undefined" && currentWallet.useForkRules(5)) { priorityDropdown.currentIndex = 1
priorityDropdown.dataModel = priorityModelV5; priorityDropdown.update()
priorityDropdown.currentIndex = 1
} else {
priorityDropdown.dataModel = priorityModel;
priorityDropdown.currentIndex = 0
}
} }
//TODO: Add daemon sync status //TODO: Add daemon sync status