From e1ca7eba4268d28fec1acb9aad909f28bacd127a Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Wed, 27 Nov 2024 04:52:08 +0200 Subject: [PATCH] use a btreeset for both host sets --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index db5df54..34656bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -use std::collections::{BTreeSet, HashSet}; +use std::collections::BTreeSet; use anyhow::Result; use bytes::Bytes; @@ -11,7 +11,7 @@ pub struct RelayServer { pub db_users: sled::Tree, pub known_good_hosts: Mutex>, - pub active_indexers: Mutex>, + pub active_indexers: Mutex>, pub event_tx: mpsc::Sender, pub raw_block_tx: broadcast::Sender,