From d82f60f18b6c40958ec328bc505a215c02111fbd Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 25 Apr 2015 12:06:20 +0100 Subject: [PATCH] cosmetic --- router/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/crypto.go b/router/crypto.go index 476cdd7b..621457a1 100644 --- a/router/crypto.go +++ b/router/crypto.go @@ -81,7 +81,7 @@ func EncodeNonce(df bool) (*[24]byte, []byte, error) { // wipe out lowest 15 bits, but encode the df right at the bottom flags := uint16(0) if df { - flags = flags | 1 + flags |= 1 } SetNonceLow15Bits(&nonce, flags) // NB: need to make a copy since callers may modify the array