This commit is contained in:
ThomasV
2021-04-01 14:25:39 +02:00
parent a2ed95340c
commit 5b1d54d014

View File

@@ -1962,6 +1962,7 @@ class LNWallet(LNWorker):
return Decimal(can_receive) / 1000
def num_sats_can_receive_no_mpp(self) -> Decimal:
can_receive = 0
with self.lock:
if self.channels:
can_receive = max([