parent
9a8af731b1
commit
b8e8d4f548
|
@ -335,7 +335,6 @@ where
|
||||||
|
|
||||||
/// Queue a download for the genesis block, if it isn't currently known to
|
/// Queue a download for the genesis block, if it isn't currently known to
|
||||||
/// our node.
|
/// our node.
|
||||||
#[instrument(skip(self))]
|
|
||||||
async fn request_genesis(&mut self) -> Result<(), Report> {
|
async fn request_genesis(&mut self) -> Result<(), Report> {
|
||||||
// Due to Bitcoin protocol limitations, we can't request the genesis
|
// Due to Bitcoin protocol limitations, we can't request the genesis
|
||||||
// block using our standard tip-following algorithm:
|
// block using our standard tip-following algorithm:
|
||||||
|
@ -422,7 +421,6 @@ where
|
||||||
/// Returns `Err(_)` if an error occurs.
|
/// Returns `Err(_)` if an error occurs.
|
||||||
///
|
///
|
||||||
/// TODO: handle multiple tips in the state.
|
/// TODO: handle multiple tips in the state.
|
||||||
#[instrument(skip(self))]
|
|
||||||
async fn state_contains(&mut self, hash: block::Hash) -> Result<bool, Report> {
|
async fn state_contains(&mut self, hash: block::Hash) -> Result<bool, Report> {
|
||||||
match self
|
match self
|
||||||
.state
|
.state
|
||||||
|
|
Loading…
Reference in New Issue