From bbacaa42b8bf40b823fdf9ab4fce479ae51498a5 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 14 Jul 2015 13:23:28 +0100 Subject: [PATCH] cosmetic --- router/protocol.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/router/protocol.go b/router/protocol.go index 878491a2..53342aa6 100644 --- a/router/protocol.go +++ b/router/protocol.go @@ -265,8 +265,7 @@ func (res *ProtocolIntroResults) doIntroV2(params ProtocolIntroParams, pubKey, p return ErrExpectedCrypto } - res.setupNoCrypto(gob.NewEncoder(params.Conn), - gob.NewDecoder(params.Conn)) + res.setupNoCrypto(gob.NewEncoder(params.Conn), gob.NewDecoder(params.Conn)) case 1: if pubKey == nil { @@ -278,8 +277,7 @@ func (res *ProtocolIntroResults) doIntroV2(params ProtocolIntroParams, pubKey, p return err } - res.setupCrypto(params, gob.NewEncoder(params.Conn), - gob.NewDecoder(params.Conn), rbuf, privKey) + res.setupCrypto(params, gob.NewEncoder(params.Conn), gob.NewDecoder(params.Conn), rbuf, privKey) default: return fmt.Errorf("Bad encryption flag %d", rbuf[0])