Test catching panic

This commit is contained in:
Deirdre Connolly 2020-12-04 18:27:11 -05:00 committed by Deirdre Connolly
parent 6a17549945
commit 25f6fd25b3
1 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,8 @@ where
/// multiple peers
#[instrument(skip(self))]
async fn obtain_tips(&mut self) -> Result<(), Report> {
panic!("Everything is on fire!");
let block_locator = self
.state
.ready_and()