Skip to content

Commit

Permalink
Update submarine_swaps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed May 15, 2024
1 parent ead5f1b commit 54c1359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrum_grs/submarine_swaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ def server_create_swap(self, request):
self.init_pairs()
#request = await r.json()
req_type = request['type']
assert request['pairId'] == 'BTC/BTC'
assert request['pairId'] == 'GRS/GRS'
if req_type == 'reversesubmarine':
lightning_amount_sat=request['invoiceAmount']
payment_hash=bytes.fromhex(request['preimageHash'])
Expand Down

0 comments on commit 54c1359

Please sign in to comment.