mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 22:21:07 +00:00
Allow import withouth state verification (#4031)
* Allow import without state verification * Explicit None Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>
This commit is contained in:
committed by
Gavin Wood
parent
021f3a3f06
commit
cca9ab436c
@@ -194,6 +194,7 @@ fn import_block<Backend, Exec, Block, RtApi>(
|
||||
justification: None,
|
||||
auxiliary: Vec::new(),
|
||||
fork_choice: ForkChoiceStrategy::LongestChain,
|
||||
allow_missing_state: false,
|
||||
};
|
||||
(&**client).import_block(import, HashMap::new()).expect("Failed to import block");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user