From 88f53e6d0b810e5006c949ea6fc431ecbf6c8b15 Mon Sep 17 00:00:00 2001 From: Gary Malouf <982483+gmalouf@users.noreply.github.com> Date: Wed, 14 Jan 2026 11:49:20 -0500 Subject: [PATCH] Fix compilation issue from isListenServer revamp and conflicting config PR. --- ledger/archival_test.go | 4 ++-- network/p2p/dht/dht.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ledger/archival_test.go b/ledger/archival_test.go index dd803b7ba2..b730bb14f2 100644 --- a/ledger/archival_test.go +++ b/ledger/archival_test.go @@ -656,8 +656,8 @@ func TestArchivalCreatables(t *testing.T) { func makeSignedTxnInBlock(tx transactions.Transaction) transactions.SignedTxnInBlock { return transactions.SignedTxnInBlock{ SignedTxnWithAD: transactions.SignedTxn{ - Txn: tx, - }.WithAD(), + Txn: tx, + }.WithAD(), HasGenesisID: true, } } diff --git a/network/p2p/dht/dht.go b/network/p2p/dht/dht.go index c43b71b2da..12fbb398ec 100644 --- a/network/p2p/dht/dht.go +++ b/network/p2p/dht/dht.go @@ -58,7 +58,7 @@ func dhtMode(cfg config.Local) dht.ModeOpt { return dht.ModeClient case "": // Default behavior: nodes with listen addresses should be discoverable - if cfg.IsGossipServer() { + if cfg.IsListenServer() { return dht.ModeServer } return dht.ModeClient