Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 74ce5376b4c6d86aa812da22fbb7b1276f62df65
  • Loading branch information
Lightspark Eng authored and jklein24 committed Jun 6, 2023
1 parent e5ed8a0 commit 27c1b12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lightspark/lightspark_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ def create_test_mode_payment(
encoded_invoice: str,
amount_msats: Optional[int] = None,
) -> OutgoingPayment:
variables = {"local_node_id": local_node_id, "encoded_invoice": encoded_invoice}
variables: Dict[str, Any] = {
"local_node_id": local_node_id,
"encoded_invoice": encoded_invoice,
}
if amount_msats is not None:
variables["amount_msats"] = amount_msats

Expand Down

0 comments on commit 27c1b12

Please sign in to comment.