File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ export async function POST(request: NextRequest) {
243243 }
244244
245245 // Route to the appropriate settler
246- let result ;
246+ let result : { txHash : string ; pending ?: boolean ; confirmations ?: number ; instant ?: boolean } ;
247247 try {
248248 if ( scheme === 'bolt12' || network === 'lightning' ) {
249249 result = await settleLightningPayment ( payment ) ;
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ export async function POST(request: NextRequest) {
203203 const methodKey = payment . payload . methodKey || payment . payload . extra ?. methodKey ;
204204
205205 // Route to the appropriate verifier based on network/scheme
206- let result ;
206+ let result : { valid : boolean ; error ?: string ; pendingConfirmation ?: boolean } ;
207207
208208 if ( scheme === 'bolt12' || network === 'lightning' ) {
209209 result = await verifyLightningPayment ( payment ) ;
You can’t perform that action at this time.
0 commit comments