diff --git a/fluence-app-service/src/service.rs b/fluence-app-service/src/service.rs index ceddf89b..b691ce82 100644 --- a/fluence-app-service/src/service.rs +++ b/fluence-app-service/src/service.rs @@ -186,7 +186,7 @@ impl AppService { }) } - pub fn call_with_module_name, FN: AsRef>( + pub fn call_module, FN: AsRef>( &mut self, module_name: MN, func_name: FN, diff --git a/tools/repl/src/repl.rs b/tools/repl/src/repl.rs index 7d0e6e60..4740b46f 100644 --- a/tools/repl/src/repl.rs +++ b/tools/repl/src/repl.rs @@ -145,7 +145,7 @@ impl REPL { let start = Instant::now(); // TODO: add support of call parameters - let result = match self.app_service.call_with_module_name( + let result = match self.app_service.call_module( module_name, func_name, module_arg,