fix: wallet.balance computed property self-reference.

This commit is contained in:
fiatjaf 2020-08-31 16:19:27 -03:00
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