-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to pay to amp invoices #1397
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e442215
to
9fa39af
Compare
src/state/Transaction.ts
Outdated
@@ -42,13 +53,26 @@ export const transaction: ITransactionModel = { | |||
throw new Error("syncTransaction(): db not ready"); | |||
} | |||
|
|||
// Don't insert open transactions for AMP invoices | |||
if (tx.status === "OPEN" && tx.ampInvoice) { | |||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may prevent us from creating our own AMP invoice inside Blixt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember why I did it this way but when we add create support we can fix this separately.
9fa39af
to
cd7a577
Compare
Signed-off-by: Nitesh Balusu [email protected]
This is just support for paying to AMP invoices, we can add support for receiving AMP in a seprate PR.