mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-29 19:23:38 +01:00
fix: wallet.balance computed property self-reference.
This commit is contained in:
parent
5d523519c3
commit
d09e624eb6
@ -27,7 +27,7 @@ class Wallet(NamedTuple):
|
||||
|
||||
@property
|
||||
def balance(self) -> int:
|
||||
return self.balance // 1000
|
||||
return self.balance_msat // 1000
|
||||
|
||||
def get_payment(self, checking_id: str) -> Optional["Payment"]:
|
||||
from .crud import get_wallet_payment
|
||||
|
Loading…
x
Reference in New Issue
Block a user