mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Call init after setting connectionState and connectionStatistics
This commit is contained in:
parent
8ccfd65c49
commit
3f8972bf87
@ -182,9 +182,9 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
|
||||
addMessageListener(messageListener);
|
||||
|
||||
this.networkProtoResolver = networkProtoResolver;
|
||||
init(peersNodeAddress);
|
||||
connectionState = new ConnectionState(this);
|
||||
connectionStatistics = new ConnectionStatistics(this, connectionState);
|
||||
init(peersNodeAddress);
|
||||
}
|
||||
|
||||
private void init(@Nullable NodeAddress peersNodeAddress) {
|
||||
|
Loading…
Reference in New Issue
Block a user