electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 46e59d18f5a69694ea139eba6883ec7f2b633468
parent df6dc8fcf2ce7b55849243a6af1baa54ef51855c
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri, 13 Nov 2020 19:18:34 +0100

invoices: rename "Pending" to "Unpaid"

related #6711

Diffstat:
Melectrum/invoices.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/electrum/invoices.py b/electrum/invoices.py @@ -41,7 +41,7 @@ pr_color = { } pr_tooltips = { - PR_UNPAID:_('Pending'), + PR_UNPAID:_('Unpaid'), PR_PAID:_('Paid'), PR_UNKNOWN:_('Unknown'), PR_EXPIRED:_('Expired'), @@ -93,8 +93,6 @@ class Invoice(StoredObject): if self.exp > 0 and self.exp != LN_EXPIRY_NEVER: expiration = self.exp + self.time status_str = _('Expires') + ' ' + age(expiration, include_seconds=True) - else: - status_str = _('Pending') return status_str def get_amount_sat(self) -> Union[int, Decimal, str, None]: