commit 7490787d383407c344feee35760f876c6db22d98
parent 1c436bbc220c54aa1095ee8c078185da628b4a3a
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 26 May 2020 15:55:47 +0200
follow-up previous commit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/simple_config.py b/electrum/simple_config.py
@@ -617,7 +617,7 @@ class SimpleConfig(Logger):
return format_satoshis(x, self.num_zeros, self.decimal_point, is_diff=is_diff, whitespaces=whitespaces)
def format_amount_and_units(self, amount):
- return self.format_amount(amount) + ' '+ self.base_unit()
+ return self.format_amount(amount) + ' '+ self.get_base_unit()
def format_fee_rate(self, fee_rate):
return format_fee_satoshis(fee_rate/1000, num_zeros=self.num_zeros) + ' sat/byte'