mirror of
https://github.com/Such-Software/wowcheckout.git
synced 2026-12-02 12:33:58 +01:00
The reconciler took the deepest single payment's confirmations as the invoice's. A tiny early payment could therefore make an unconfirmed top-up count as confirmed, and InvoiceSettled fired before the money was final. The invoice depth is now the depth at which payments, taken deepest first, cover the whole amount. It is 0 while the invoice is underpaid.