mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 17:55:20 +00:00
follow-up prev
This commit is contained in:
parent
4c70956687
commit
561ecaa226
1 changed files with 2 additions and 2 deletions
|
@ -700,14 +700,14 @@ class Channel(AbstractChannel):
|
||||||
|
|
||||||
def set_frozen_for_sending(self, b: bool) -> None:
|
def set_frozen_for_sending(self, b: bool) -> None:
|
||||||
self.storage['frozen_for_sending'] = bool(b)
|
self.storage['frozen_for_sending'] = bool(b)
|
||||||
util.trigger_callback('channel', self)
|
util.trigger_callback('channel', self.lnworker.wallet, self)
|
||||||
|
|
||||||
def is_frozen_for_receiving(self) -> bool:
|
def is_frozen_for_receiving(self) -> bool:
|
||||||
return self.storage.get('frozen_for_receiving', False)
|
return self.storage.get('frozen_for_receiving', False)
|
||||||
|
|
||||||
def set_frozen_for_receiving(self, b: bool) -> None:
|
def set_frozen_for_receiving(self, b: bool) -> None:
|
||||||
self.storage['frozen_for_receiving'] = bool(b)
|
self.storage['frozen_for_receiving'] = bool(b)
|
||||||
util.trigger_callback('channel', self)
|
util.trigger_callback('channel', self.lnworker.wallet, self)
|
||||||
|
|
||||||
def _assert_can_add_htlc(self, *, htlc_proposer: HTLCOwner, amount_msat: int,
|
def _assert_can_add_htlc(self, *, htlc_proposer: HTLCOwner, amount_msat: int,
|
||||||
ignore_min_htlc_value: bool = False) -> None:
|
ignore_min_htlc_value: bool = False) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue