This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
Commit 98f32e6
fix(usage): confirm a reset by the probe timestamp moving, not a masked reason
The post-redeem check looked for a probeFailed reason on the refreshed
snapshot, but the probe resolver republishes the last good limits when a
probe fails and bars already exist, so that reason never appeared and a
failed confirmation reported success with stale bars. The check now
requires the published checkedAt to advance past the pre-redemption
value.
Co-Authored-By: Claude Code <[email protected]>1 parent 3e6727c commit 98f32e6
1 file changed
Lines changed: 19 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
279 | 280 | | |
280 | | - | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
282 | 288 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
| |||
0 commit comments