fix: cast balance to int

This commit is contained in:
Vlad Stan
2024-10-10 09:08:45 +02:00
committed by dni ⚡
parent c6ec329328
commit 74b24eb609
+1 -1
View File
@@ -49,7 +49,7 @@ class Wallet(BaseModel):
@property
def balance(self) -> int:
return self.balance_msat // 1000
return int(self.balance_msat // 1000)
@property
def withdrawable_balance(self) -> int: