mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 10:57:56 +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
@@ -1001,7 +1001,7 @@ macro_rules! decl_module {
|
||||
$crate::sp_runtime::traits::OffchainWorker<$trait_instance::BlockNumber>
|
||||
for $module<$trait_instance$(, $instance)?> where $( $other_where_bounds )*
|
||||
{
|
||||
fn generate_extrinsics(_block_number_not_used: $trait_instance::BlockNumber) { $( $impl )* }
|
||||
fn offchain_worker(_block_number_not_used: $trait_instance::BlockNumber) { $( $impl )* }
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1014,7 +1014,7 @@ macro_rules! decl_module {
|
||||
$crate::sp_runtime::traits::OffchainWorker<$trait_instance::BlockNumber>
|
||||
for $module<$trait_instance$(, $instance)?> where $( $other_where_bounds )*
|
||||
{
|
||||
fn generate_extrinsics($param: $param_ty) { $( $impl )* }
|
||||
fn offchain_worker($param: $param_ty) { $( $impl )* }
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user