mute-structs icon indicating copy to clipboard operation
mute-structs copied to clipboard

SearchNode fails with unbalanced tree with next version (ts)

Open MatthieuNICOLAS opened this issue 8 years ago • 0 comments

While working on the next version, we disabled the balancing of the tree to make debugging easier. But it shows a new issue: the function searchNode() (called here) can not find the node where to insert the new block and thus returns a null value.

Scenario to reproduce this issue:

  • Insert a first block.
  • Split this block with a new one.
  • Append new blocks to the splitting one until the null exception is thrown.

MatthieuNICOLAS avatar Nov 17 '16 14:11 MatthieuNICOLAS