Skip to content

Commit

Permalink
Merge pull request #668 from zkao/syncerclient_unneeded_mut
Browse files Browse the repository at this point in the history
syncerclient: rm unneeded mut
  • Loading branch information
TheCharlatan authored Aug 19, 2022
2 parents d8574a5 + 58accba commit 5b6af8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swapd/syncer_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<bitcoin::Transaction> {
pub fn pending_broadcast_txs(&self) -> Vec<bitcoin::Transaction> {
self.tasks
.broadcasting_txs
.iter()
Expand Down

0 comments on commit 5b6af8e

Please sign in to comment.