From ba31dd70a5d210f22525e14ae921e665d0fdfebc Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Mon, 18 Nov 2024 22:01:51 +0000 Subject: [PATCH] BtcNode: Make port field final --- core/src/main/java/bisq/core/btc/nodes/BtcNodes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/btc/nodes/BtcNodes.java b/core/src/main/java/bisq/core/btc/nodes/BtcNodes.java index 35fc67c387..1286b31ac6 100644 --- a/core/src/main/java/bisq/core/btc/nodes/BtcNodes.java +++ b/core/src/main/java/bisq/core/btc/nodes/BtcNodes.java @@ -97,7 +97,7 @@ public static class BtcNode { @Nullable private final String address; // IPv4 address @EqualsAndHashCode.Include - private int port = DEFAULT_PORT; + private final int port; /** * @param fullAddress [IPv4 address:port or onion:port]