commit ea31cdc33a3de9fde57d7a4c682ed768d6aa583b
parent 8542b40e9eb7567c4da1ed2b103dae78349fbc7c
Author: kernelkind <kernelkind@gmail.com>
Date: Wed, 25 Feb 2026 19:58:30 -0500
test(refactor): remove legacy RelayPool generator
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
1 file changed, 0 insertions(+), 19 deletions(-)
diff --git a/crates/notedeck_columns/src/test_data.rs b/crates/notedeck_columns/src/test_data.rs
@@ -1,24 +1,5 @@
-use enostr::RelayPool;
use nostrdb::ProfileRecord;
-#[allow(unused_must_use)]
-pub fn sample_pool() -> RelayPool {
- let mut pool = RelayPool::new();
- let wakeup = move || {};
-
- pool.add_url("wss://relay.damus.io".to_string(), wakeup);
- pool.add_url("wss://eden.nostr.land".to_string(), wakeup);
- pool.add_url("wss://nostr.wine".to_string(), wakeup);
- pool.add_url("wss://nos.lol".to_string(), wakeup);
- pool.add_url("wss://test_relay_url_long_00000000000000000000000000000000000000000000000000000000000000000000000000000000000".to_string(), wakeup);
-
- for _ in 0..20 {
- pool.add_url("tmp".to_string(), wakeup);
- }
-
- pool
-}
-
// my (jb55) profile
const _TEST_PROFILE_DATA: [u8; 448] = [
0x04, 0x00, 0x00, 0x00, 0x54, 0xfe, 0xff, 0xff, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,