Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

implement bitfield signing subsystem #1364

Merged
merged 17 commits into from
Jul 23, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
improve consistency when returning existing options
  • Loading branch information
coriolinus committed Jul 23, 2020
commit 333d0764d3f9635c606494fea514ef0b5a3fe8d7
2 changes: 1 addition & 1 deletion node/bitfield-signing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async fn get_core_availability(
tx,
)))
.await?;
return Ok(rx.await?);
return rx.await.map_err(Into::into);
}
Ok(false)
}
Expand Down