Commit 0aa9e3e
committed
fix(session): use state-enriched bill on give restart to preserve rendezvous
The restart closure in showBill() captured the original bill parameter
which has no nonce. On restart, a fresh nonce was generated producing a
different rendezvous key — so device 2 could never grab the bill.
Read the current bill from BillController state instead, which carries
the nonce from the first presentation.1 parent 9195d70 commit 0aa9e3e
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
| |||
0 commit comments