Skip to content

Commit a622398

Browse files
committed
Fix spurious resume_servauth assertion
FirstAuth is a valid event for resume_servauth()
1 parent 53fe3aa commit a622398

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runner.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,9 @@ impl<'a> Runner<'a> {
655655
) || matches!(
656656
prev_event,
657657
DispatchEvent::ServEvent(ServEventId::PubkeyAuth { .. })
658+
) || matches!(
659+
prev_event,
660+
DispatchEvent::ServEvent(ServEventId::FirstAuth)
658661
)
659662
);
660663

0 commit comments

Comments
 (0)