Skip to content

Commit 27c1b12

Browse files
Lightspark Engjklein24
Lightspark Eng
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: 74ce5376b4c6d86aa812da22fbb7b1276f62df65
1 parent e5ed8a0 commit 27c1b12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lightspark/lightspark_client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,10 @@ def create_test_mode_payment(
224224
encoded_invoice: str,
225225
amount_msats: Optional[int] = None,
226226
) -> OutgoingPayment:
227-
variables = {"local_node_id": local_node_id, "encoded_invoice": encoded_invoice}
227+
variables: Dict[str, Any] = {
228+
"local_node_id": local_node_id,
229+
"encoded_invoice": encoded_invoice,
230+
}
228231
if amount_msats is not None:
229232
variables["amount_msats"] = amount_msats
230233

0 commit comments

Comments
 (0)