[go: up one dir, main page]

MerkleManager.DidAddHashes returns the wrong value when using sub-batches

The logic that MerkleManager uses to determine how many chain entries have been added is faulty due to the mechanics of sub-bashes. This leads to N^2 block entries and anchors: when the Nth transaction is written to an account's main chain, every entry from 0 to N-1 is anchored.