Skip to content

Commit

Permalink
Fix .clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-so committed Mar 17, 2024
1 parent 7ef9875 commit 74b8278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subcommand/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});

Expand Down Expand Up @@ -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)
});

Expand Down

0 comments on commit 74b8278

Please sign in to comment.