fix: wallet.balance computed property self-reference.
This commit is contained in:
parent
5d523519c3
commit
d09e624eb6
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Wallet(NamedTuple):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def balance(self) -> int:
|
def balance(self) -> int:
|
||||||
return self.balance // 1000
|
return self.balance_msat // 1000
|
||||||
|
|
||||||
def get_payment(self, checking_id: str) -> Optional["Payment"]:
|
def get_payment(self, checking_id: str) -> Optional["Payment"]:
|
||||||
from .crud import get_wallet_payment
|
from .crud import get_wallet_payment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue