Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ledger/archival_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down
2 changes: 1 addition & 1 deletion network/p2p/dht/dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading