From 07b2f2f442e5a3a626b24c63ecaf0c5199c5f371 Mon Sep 17 00:00:00 2001 From: Drew Nutter Date: Wed, 5 Jun 2024 11:07:32 -0400 Subject: [PATCH] refactor(shred-collector): remove unused imports --- src/shred_collector/shred.zig | 1 - src/shred_collector/shred_receiver.zig | 1 - 2 files changed, 2 deletions(-) diff --git a/src/shred_collector/shred.zig b/src/shred_collector/shred.zig index 1cc9c7f58..7dec5faaf 100644 --- a/src/shred_collector/shred.zig +++ b/src/shred_collector/shred.zig @@ -4,7 +4,6 @@ const sig = @import("../lib.zig"); const bincode = sig.bincode; const Allocator = std.mem.Allocator; -const ArrayList = std.ArrayList; const BitFlags = sig.utils.bitflags.BitFlags; const Hash = sig.core.Hash; diff --git a/src/shred_collector/shred_receiver.zig b/src/shred_collector/shred_receiver.zig index 6b233fcd5..199d08442 100644 --- a/src/shred_collector/shred_receiver.zig +++ b/src/shred_collector/shred_receiver.zig @@ -21,7 +21,6 @@ const RepairMessage = shred_collector.repair_message.RepairMessage; const Slot = sig.core.Slot; const SocketThread = sig.net.SocketThread; -const endpointToString = sig.net.endpointToString; const num_tvu_receivers = 2;