Change XOR

This commit is contained in:
martinsumner 2017-06-28 10:55:54 +01:00
parent 8e7aaf0ee7
commit 2dd303237b

View file

@ -149,7 +149,7 @@ add_kv(TicTacTree, Key, Value, HashFun) ->
PostL1/binary>> = TicTacTree#tictactree.level1, PostL1/binary>> = TicTacTree#tictactree.level1,
SegLeaf2Upd = SegLeaf2 bxor SegChangeHash, SegLeaf2Upd = SegLeaf2 bxor SegChangeHash,
SegLeaf1Upd = SegLeaf1 bxor SegLeaf2 bxor SegLeaf2Upd, SegLeaf1Upd = SegLeaf1 bxor SegChangeHash,
Level1Upd = <<PreL1:Level1BytePos/binary, Level1Upd = <<PreL1:Level1BytePos/binary,
SegLeaf1Upd:HashIntLength/integer, SegLeaf1Upd:HashIntLength/integer,