fix rpc_only

This commit is contained in:
Aiden McClelland
2021-09-11 12:32:01 -06:00
parent b806e08866
commit 2b21d7acf6

View File

@@ -886,7 +886,7 @@ fn cli_handler(
match opt {
Options::Leaf(opt) if matches!(opt.exec_ctx, ExecutionContext::RpcOnly(_)) => quote! {
pub fn cli_handler#generics(
_ctx: (),
_ctx: GenericContext,
_parent_data: #parent_data_ty,
_rt: Option<::rpc_toolkit::command_helpers::prelude::Runtime>,
_matches: &::rpc_toolkit::command_helpers::prelude::ArgMatches<'_>,