diff --git a/controller/src/command.rs b/controller/src/command.rs index 60d6c79a0..ef15989e6 100644 --- a/controller/src/command.rs +++ b/controller/src/command.rs @@ -348,7 +348,6 @@ pub fn receive( g_args: &GlobalArgs, args: ReceiveArgs, ) -> Result<(), Error> { - let adapter = match args.method.as_str() { "file" => FileWalletCommAdapter::new(), "string" => StdioWalletCommAdapter::new(),