mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Fix db metadata updates for existing headers (#9403)
* Fix metadata updates on existing headers * Fail set_head on ancient blocks * Fmt unrelated code
This commit is contained in:
@@ -156,6 +156,9 @@ pub enum Error {
|
||||
#[error("State Database error: {0}")]
|
||||
StateDatabase(String),
|
||||
|
||||
#[error("Failed to set the chain head to a block that's too old.")]
|
||||
SetHeadTooOld,
|
||||
|
||||
#[error(transparent)]
|
||||
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user