Add missing error handling: LedgerError::ParentNotFound
(#630)
This commit is contained in:
parent
b7865b27ec
commit
d2db454765
@ -716,7 +716,8 @@ where
|
||||
|
||||
cryptarchia = new_state;
|
||||
}
|
||||
Err(Error::Consensus(cryptarchia_engine::Error::ParentMissing(parent))) => {
|
||||
Err(Error::Ledger(cryptarchia_ledger::LedgerError::ParentNotFound(parent)))
|
||||
| Err(Error::Consensus(cryptarchia_engine::Error::ParentMissing(parent))) => {
|
||||
tracing::debug!("missing parent {:?}", parent);
|
||||
// TODO: request parent block
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user