Skip to content

Commit

Permalink
Deleting unnecessary append to filterclear
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerson2102 committed Sep 27, 2024
1 parent 33df1c2 commit d4c8735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/protocol/messages/filterclear.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d4c8735

Please sign in to comment.