File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232from lightspark .objects .IncomingPayment import from_json as IncomingPayment_from_json
3333from lightspark .objects .Invoice import Invoice
3434from lightspark .objects .Invoice import from_json as Invoice_from_json
35+ from lightspark .objects .InvoiceData import InvoiceData
3536from lightspark .objects .InvoiceData import from_json as InvoiceData_from_json
3637from lightspark .objects .InvoiceType import InvoiceType
3738from lightspark .objects .LightningFeeEstimateOutput import (
@@ -376,9 +377,7 @@ def get_current_account(
376377 )
377378 return Account_from_json (self ._requester , json ["current_account" ])
378379
379- def get_decoded_payment_request (
380- self , encoded_payment_request : str
381- ) -> PaymentRequestData :
380+ def get_decoded_payment_request (self , encoded_payment_request : str ) -> InvoiceData :
382381 logger .info (
383382 "Decoding payment request starting with %s..." ,
384383 encoded_payment_request [0 :10 ],
You can’t perform that action at this time.
0 commit comments