We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 352f1aa commit 6b9453fCopy full SHA for 6b9453f
misc/peer-store/src/memory_store.rs
@@ -172,7 +172,7 @@ impl<T> Store for MemoryStore<T> {
172
}
173
DialError::WrongPeerId { obtained, address } => {
174
// The stored peer id is incorrect, remove incorrect and add correct one.
175
- self.remove_address(&peer, &address);
+ self.remove_address(&peer, address);
176
self.update_address(obtained, address);
177
178
DialError::Transport(errors) => {
0 commit comments