This commit is contained in:
Matthias Radestock committed 2015-04-25 12:06:20 +01:00
1 parent d15575212a
commit d82f60f18b
1 file changed
+1 -1
+1 -1
View File
@@ -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