Repository navigation
Commit 67efa49
committed
fix(relay): fix borrow and slice conversion in nip-sl simplification
copy uuid out of tx.community().as_uuid() in cancel_schedules_in_transaction (fixes E0716) and convert Option<[u8; 32]> via as_ref().map(<[u8; 32]>::as_slice) instead of as_deref() in scheduled_release::release.
Signed-off-by: Kalvin Chau <kalvin@block.xyz>1 parent 635e4d1 commit 67efa49
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
| 625 | + | |
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
340 | 343 | | |
341 | 344 | | |
342 | 345 | | |
| |||
0 commit comments