Skip to content
Snippets Groups Projects
Commit e18ab47d authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by Benjamin Kampmann
Browse files

Don't initialize block for offchain workers. (#3578)

parent 58ddde4d
Branches
Tags
No related merge requests found
......@@ -26,6 +26,7 @@ decl_runtime_apis! {
/// The offchain worker api.
pub trait OffchainWorkerApi {
/// Starts the off-chain task for given block number.
#[skip_initialize_block]
fn offchain_worker(number: NumberFor<Block>);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment