]> Cypherpunks.ru repositories - gogost.git/commitdiff
Trivial beauty
authorSergey Matveev <stargrave@stargrave.org>
Mon, 4 Oct 2021 10:03:58 +0000 (13:03 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 4 Oct 2021 10:03:58 +0000 (13:03 +0300)
gost34112012256/esptree.go

index 4f708ebe4757b7553c7356adf7af4e9207997c11..93b9f224c78f097e4b925a6e571b8da5c4a97377 100644 (file)
@@ -32,7 +32,7 @@ func NewESPTree(keyRoot []byte) *ESPTree {
                keyRoot: key,
                key:     make([]byte, Size),
        }
-       t.isPrev[0] += 1 // invalidate cache
+       t.isPrev[0]++ // invalidate cache
        t.DeriveCached([]byte{0x00, 0x00, 0x00, 0x00, 0x00})
        return t
 }