1
0

swaps: code style clean-up, add type hints, force kwargs

no intended functional changes
This commit is contained in:
SomberNight
2023-11-22 17:50:29 +00:00
parent 9d5d582752
commit 9f1b8613d0
8 changed files with 120 additions and 66 deletions

View File

@@ -106,7 +106,7 @@ class SwapServer(Logger, EventListener):
assert len(their_pubkey) == 33
swap = self.sm.create_reverse_swap(
lightning_amount_sat=lightning_amount_sat,
their_pubkey=their_pubkey
their_pubkey=their_pubkey,
)
response = {
"id": swap.payment_hash.hex(),