diff --git a/src/swapd/syncer_client.rs b/src/swapd/syncer_client.rs index 8802a11ec..1125244cc 100644 --- a/src/swapd/syncer_client.rs +++ b/src/swapd/syncer_client.rs @@ -325,7 +325,7 @@ impl SyncerState { self.tasks.broadcasting_txs.remove(&event.id); self.tasks.tasks.remove(&event.id); } - pub fn pending_broadcast_txs(&mut self) -> Vec { + pub fn pending_broadcast_txs(&self) -> Vec { self.tasks .broadcasting_txs .iter()