Commit e02fde6
committed
fix: liveness escape hatch for start_cancel with unclaimed winners
If a Single-release winner cannot authenticate (lost key, contract
without signer), escrow is permanently locked — claim_prize requires
recipient auth and start_cancel rejects unclaimed winners.
Allow cancellation after the event deadline passes: the deadline is
the natural claim window. Winners who haven't claimed by then forfeit
their prize, and the manager can recover remaining escrow.1 parent ac9be2d commit e02fde6
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
298 | 300 | | |
299 | 301 | | |
300 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
301 | 308 | | |
302 | 309 | | |
303 | 310 | | |
| |||
0 commit comments