Skip to content

Commit

Permalink
fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Nov 8, 2024
1 parent 66e7a8e commit 9f9804a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/paidAction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,10 @@ export class NonInvoiceablePeerError extends Error {
}
}


export async function createWrappedInvoice (actionType, args, context) {
// if the action has an invoiceable peer, we'll create a peer invoice
// wrap it, and return the wrapped invoice
const { cost, models, lnd } = context
const { cost, models, lnd, me } = context
const userId = await paidActions[actionType]?.invoiceablePeer?.(args, context)
if (!userId) {
throw new NonInvoiceablePeerError()
Expand Down

0 comments on commit 9f9804a

Please sign in to comment.