BtcNode: Make port field final

This commit is contained in:
Alva Swanson 2024-11-18 22:01:51 +00:00 committed by Alejandro García
parent cbea843144
commit 22aa759a0a
No known key found for this signature in database
GPG key ID: F806F422E222AA02

View file

@ -113,7 +113,7 @@ public class BtcNodes {
@Nullable @Nullable
private final String address; // IPv4 address private final String address; // IPv4 address
@EqualsAndHashCode.Include @EqualsAndHashCode.Include
private int port = DEFAULT_PORT; private final int port;
/** /**
* @param fullAddress [IPv4 address:port or onion:port] * @param fullAddress [IPv4 address:port or onion:port]