Skip to content

SearchNode fails with unbalanced tree with next version (ts) #8

@MatthieuNICOLAS

Description

@MatthieuNICOLAS

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions