You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: refused paykit retry can clear a pending same-invoice payment's proof #2124
A Paykit Lightning payment refused at submission is treated as unsent: the manual path fails its proof, and an automatic payment also releases its allowance reservation. Spark can refuse a retry at submission while an earlier transfer of the same invoice still holds under the same key (SparkRepo.kt). If a separate send of the same invoice turns uncertain after the request resolves its endpoint and before LightningRepo starts its checks, that refusal may clear the request's proof, or release the allowance reservation (PaykitPaymentProofRepo.failLightningPayment, PaykitAllowanceExecutor). If the earlier transfer then settles, the request can lose its receipt or allowance accounting.
A refusal at submission that leaves an earlier transfer of the same invoice pending keeps that transfer's pending outcome. It does not clear the request's proof or release its allowance reservation.
Activity