Skip to content

Commit

Permalink
Update zebra-network/src/address_book.rs
Browse files Browse the repository at this point in the history
Co-authored-by: teor <teor@riseup.net>
  • Loading branch information
arya2 and teor2345 authored Jan 16, 2023
1 parent 4d5b0a1 commit b0a63b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-network/src/address_book.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ impl PeerObserver for AddressBook {
impl PeerObserver for Arc<Mutex<AddressBook>> {
fn recently_live_peers(&self, now: chrono::DateTime<Utc>) -> Vec<MetaAddr> {
self.lock()
.expect("mutex should be unpoisoned")
.expect("panic in a previous thread that was holding the mutex")
.recently_live_peers(now)
}
}
Expand Down

0 comments on commit b0a63b9

Please sign in to comment.