From d4c87359bc173cdea9ded2b719d929f53794fcde Mon Sep 17 00:00:00 2001 From: Gerson2102 Date: Fri, 27 Sep 2024 07:46:00 -0600 Subject: [PATCH] Deleting unnecessary append to filterclear --- src/network/protocol/messages/filterclear.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/protocol/messages/filterclear.zig b/src/network/protocol/messages/filterclear.zig index e943e2c..c537a32 100644 --- a/src/network/protocol/messages/filterclear.zig +++ b/src/network/protocol/messages/filterclear.zig @@ -8,7 +8,7 @@ pub const FilterClearMessage = struct { // FilterClear message do not contain any payload, thus there is no field pub inline fn name() *const [12]u8 { - return protocol.CommandNames.FILTERCLEAR ++ [_]u8{0} ** 5; + return protocol.CommandNames.FILTERCLEAR; } pub fn checksum(self: FilterClearMessage) [4]u8 {