diff --git a/aggligator/src/agg/link_int.rs b/aggligator/src/agg/link_int.rs index 651863e..b928a3f 100644 --- a/aggligator/src/agg/link_int.rs +++ b/aggligator/src/agg/link_int.rs @@ -284,7 +284,7 @@ where // Publish unconfirmed status. self.unconfirmed_tx.send_if_modified(|m| { if *m != self.unconfirmed { - *m = self.unconfirmed.clone(); + m.clone_from(&self.unconfirmed); true } else { false