Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gdnathan committed Sep 20, 2024
1 parent 029c4a8 commit d503ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/protocol/messages/getaddr.zig
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const Sha256 = std.crypto.hash.sha2.Sha256;

const CompactSizeUint = @import("bitcoin-primitives").types.CompatSizeUint;

/// GetaddrMessage represents the "verack" message
/// GetaddrMessage represents the "getaddr" message
///
/// https://developer.bitcoin.org/reference/p2p_networking.html#getaddr
pub const GetaddrMessage = struct {
// verack message do not contain any payload, thus there is no field
// getaddr message do not contain any payload, thus there is no field

pub inline fn name() *const [12]u8 {
return protocol.CommandNames.GETADDR ++ [_]u8{0} ** 5;
Expand Down

0 comments on commit d503ea3

Please sign in to comment.