chore: make ext fns mut (#4081)

This commit is contained in:
Matthias Seitz
2023-08-05 17:18:15 +02:00
committed by GitHub
parent c0abfcedff
commit 3aff8de235
4 changed files with 13 additions and 7 deletions

View File

@ -52,7 +52,7 @@ struct RethCliTxpoolExt {
impl RethNodeCommandExt for RethCliTxpoolExt {
// This is the entrypoint for the CLI to extend the RPC server with custom rpc namespaces.
fn extend_rpc_modules<Conf, Provider, Pool, Network, Tasks, Events>(
&self,
&mut self,
_config: &Conf,
registry: &mut RethModuleRegistry<Provider, Pool, Network, Tasks, Events>,
modules: &mut TransportRpcModules<()>,