Page MenuHomePhabricator

[electrum] fix fee unit in Preferences > Fee > Custom Fee Rate
ClosedPublic

Authored by PiRK on Sat, Jul 5, 12:38.

Details

Summary

Setting the XECSatsByteEdit._base_unit attribute had no effect in updating the widget's displayed unit. There is a AmountEdit.set_base_unit method for this, use it.

Remove also the pointless instance attribute in XECAmountEdit

Test Plan

start Electrum ABC, go to the preferences menu, fee tab, and check that the correct unit is displayed in the line edit idget (previously it showed "XEC")

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable