diff --git a/src/subcommand/server.rs b/src/subcommand/server.rs index c272875fda..7d38d48d17 100644 --- a/src/subcommand/server.rs +++ b/src/subcommand/server.rs @@ -1291,7 +1291,7 @@ impl Server { // probably worth considering some sort of limitation to mitigate "DoSability" let inscription_override = inscription.delegates().iter().find_map(|delegate| { index - .get_inscription_by_id(delegate.clone()) + .get_inscription_by_id(*delegate) .unwrap_or(None) }); @@ -1393,7 +1393,7 @@ impl Server { let inscription_override = inscription.delegates().iter().find_map(|delegate| { index - .get_inscription_by_id(delegate.clone()) + .get_inscription_by_id(*delegate) .unwrap_or(None) });