Skip to content

Commit b09a42e

Browse files
LeoPatOZ0xNeshi
andauthored
Forgot some awaits on try_stream (#196)
Co-authored-by: Nenad <[email protected]>
1 parent 25e6e06 commit b09a42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/block_range_scanner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ impl<N: Network> Service<N> {
533533
}
534534
Err(e) => {
535535
error!(error = %e, "Terminal RPC call error, shutting down");
536-
_ = sender.try_stream(e);
536+
_ = sender.try_stream(e).await;
537537
return;
538538
}
539539
};
@@ -555,7 +555,7 @@ impl<N: Network> Service<N> {
555555
}
556556
Err(e) => {
557557
error!(error = %e, "Terminal RPC call error, shutting down");
558-
_ = sender.try_stream(e);
558+
_ = sender.try_stream(e).await;
559559
return;
560560
}
561561
};

0 commit comments

Comments
 (0)