diff --git a/src/gossip/fuzz.zig b/src/gossip/fuzz.zig index 822d4ad2f..9c892bf72 100644 --- a/src/gossip/fuzz.zig +++ b/src/gossip/fuzz.zig @@ -97,7 +97,7 @@ pub fn randomCrdsValue(rng: std.rand.Random, maybe_should_pass_sig_verification: // will have random id // var value = try CrdsValue.random(rng, &keypair); var value = try CrdsValue.randomWithIndex(rng, &keypair, 0); - value.data.LegacyContactInfo = LegacyContactInfo.default(Pubkey.fromPublicKey(&keypair.public_key, false)); + value.data.LegacyContactInfo = LegacyContactInfo.default(Pubkey.fromPublicKey(&keypair.public_key)); try value.sign(&keypair); const should_pass_sig_verification = maybe_should_pass_sig_verification orelse rng.boolean(); @@ -157,7 +157,7 @@ pub fn randomPullRequest(allocator: std.mem.Allocator, rng: std.rand.Random, key defer bloom.deinit(); var crds_value = try CrdsValue.initSigned(crds.CrdsData{ - .LegacyContactInfo = LegacyContactInfo.default(Pubkey.fromPublicKey(&keypair.public_key, false)), + .LegacyContactInfo = LegacyContactInfo.default(Pubkey.fromPublicKey(&keypair.public_key)), }, keypair); var filter = CrdsFilter{ diff --git a/src/gossip/gossip_service.zig b/src/gossip/gossip_service.zig index 24c847f20..adf9073e1 100644 --- a/src/gossip/gossip_service.zig +++ b/src/gossip/gossip_service.zig @@ -2520,7 +2520,7 @@ pub const BenchmarkGossipServiceGeneral = struct { var address = SocketAddr.initIpv4(.{ 127, 0, 0, 1 }, 8888); var endpoint = address.toEndpoint(); - var pubkey = Pubkey.fromPublicKey(&keypair.public_key, false); + var pubkey = Pubkey.fromPublicKey(&keypair.public_key); var contact_info = LegacyContactInfo.default(pubkey); contact_info.shred_version = 19; contact_info.gossip = address;