mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Fix confusing comment
This commit is contained in:
parent
c5d760b2a0
commit
fc4babcfd7
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public final class NodeAddress implements Persistable, Payload {
|
||||||
return hostName + ":" + port;
|
return hostName + ":" + port;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We use just a few chars form or address to blur the potential receiver for sent messages
|
// We use just a few chars from the full address to blur the potential receiver for sent messages
|
||||||
public byte[] getAddressPrefixHash() {
|
public byte[] getAddressPrefixHash() {
|
||||||
if (addressPrefixHash == null)
|
if (addressPrefixHash == null)
|
||||||
addressPrefixHash = Hash.getHash(getFullAddress().substring(0, Math.min(2, getFullAddress().length())));
|
addressPrefixHash = Hash.getHash(getFullAddress().substring(0, Math.min(2, getFullAddress().length())));
|
||||||
|
|
Loading…
Add table
Reference in a new issue