From 58accba1f17e46e4017e45c642dea7a5caf69ff6 Mon Sep 17 00:00:00 2001 From: zkao Date: Tue, 9 Aug 2022 15:50:01 +0200 Subject: [PATCH] syncerclient: rm unneeded mut --- src/swapd/syncer_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()