]> Cypherpunks.ru repositories - gogost.git/blobdiff - gost34112012256/esptree.go
Trivial beauty
[gogost.git] / 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
 }