Skip to content

Commit

Permalink
Namecoin: Rebrand lnchannel.update_fee
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Apr 30, 2021
1 parent 9a3f28b commit 2a5d910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrum_nmc/electrum/lnchannel.py
Expand Up @@ -1282,7 +1282,7 @@ def update_fee(self, feerate: int, from_us: bool) -> None:
remainder = sender_balance_msat - sender_reserve_msat - ctx_fees_msat[sender]
if remainder < 0:
raise Exception(f"Cannot update_fee. {sender} tried to update fee but they cannot afford it. "
f"Their balance would go below reserve: {remainder} msat missing.")
f"Their balance would go below reserve: {remainder} mswartz missing.")
with self.db_lock:
if from_us:
assert self.can_send_ctx_updates(), f"cannot update channel. {self.get_state()!r} {self.peer_state!r}"
Expand Down

0 comments on commit 2a5d910

Please sign in to comment.