mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 03:58:04 +00:00
Don't initialize block for offchain workers. (#3578)
This commit is contained in:
committed by
Benjamin Kampmann
parent
1450719acc
commit
2beeda1488
@@ -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>);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user