mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Rename OffchainWorker internal method. (#4267)
* Rename generate_extrinsics to offchain_worker * Some doc improvements.
This commit is contained in:
committed by
Gavin Wood
parent
2de6f82b8a
commit
3b21f7fdc3
@@ -311,7 +311,7 @@ where
|
||||
|
||||
/// Start an offchain worker and generate extrinsics.
|
||||
pub fn offchain_worker(n: System::BlockNumber) {
|
||||
<AllModules as OffchainWorker<System::BlockNumber>>::generate_extrinsics(n)
|
||||
<AllModules as OffchainWorker<System::BlockNumber>>::offchain_worker(n)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user