diff --git a/core/java/src/net/i2p/client/I2CPMessageProducer.java b/core/java/src/net/i2p/client/I2CPMessageProducer.java index 529351304..28c8a8421 100644 --- a/core/java/src/net/i2p/client/I2CPMessageProducer.java +++ b/core/java/src/net/i2p/client/I2CPMessageProducer.java @@ -53,8 +53,7 @@ class I2CPMessageProducer { */ public void connect(I2PSessionImpl session) throws I2PSessionException { CreateSessionMessage msg = new CreateSessionMessage(); - SessionConfig cfg = new SessionConfig(); - cfg.setDestination(session.getMyDestination()); + SessionConfig cfg = new SessionConfig(session.getMyDestination()); cfg.setOptions(session.getOptions()); try { cfg.signSessionConfig(session.getPrivateKey());