Closed youngjoon-lee closed 6 months ago
It seems that we should find the position of the "parent" of the block to be added when trying to create a fork, but the current implementation finds the position of the "block" to be added.
Please correct me if I'm wrong.
Do you want to add a test to verify that forks are created correctly?
Sure. I'll add tests in this PR soon and re-request your review!
Good catch, concerning that it was not caught by tests
It seems that we should find the position of the "parent" of the block to be added when trying to create a fork, but the current implementation finds the position of the "block" to be added.
Please correct me if I'm wrong.