Closed dangeross closed 4 months ago
Looks good.
What about payments that were already inserted with the amount_msat
amount? Should we update those somehow?
What about payments that were already inserted with the
amount_msat
amount? Should we update those somehow?
@JssDWt I think if drop the last_backup_time
cached_item in the migration, then we would re-sync all the payments (paid invoices) from Greenlight. What do you think @roeierez?
I think if drop the
last_backup_time
cached_item in the migration, then we would re-sync all the payments (paid invoices) from Greenlight
I think it's the last_sync_time
we would have to drop there.
I think it's the
last_sync_time
we would have to drop there.
Oops, yeah
Changes Payment mapping to use the received amount instead of invoice amount to account for overpayments.
Example when sending in Phoenix 1500 instead of 1000 msats:
Fixes #1026