A retry posts a second payment
When a connection drops after a payment is recorded, the caller can retry the same request. In this example, both attempts reach the ledger.
Examine the test evidence
- Expected
- One payment instruction produces one ledger entry.
- Observed
- The first entry survived the timeout. A retry with the same request ID created another entry.
- Recommendation
- Record the request ID with the payment and return its original result on retry. Repeat the timeout test before release.