cosmetic
This commit is contained in:
1 parent
d15575212a
commit
d82f60f18b
1 file changed
+1
-1
+1
-1
@@ -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
|
// wipe out lowest 15 bits, but encode the df right at the bottom
|
||||||
flags := uint16(0)
|
flags := uint16(0)
|
||||||
if df {
|
if df {
|
||||||
flags = flags | 1
|
flags |= 1
|
||||||
}
|
}
|
||||||
SetNonceLow15Bits(&nonce, flags)
|
SetNonceLow15Bits(&nonce, flags)
|
||||||
// NB: need to make a copy since callers may modify the array
|
// NB: need to make a copy since callers may modify the array
|
||||||
|
|||||||
Reference in new issue
Block a user