Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deleting steps while looping through the steps on a node #35

Open
adamnovak opened this issue Dec 11, 2019 · 0 comments
Open

Deleting steps while looping through the steps on a node #35

adamnovak opened this issue Dec 11, 2019 · 0 comments

Comments

@adamnovak
Copy link
Member

I want to loop over the steps on a node with HashGraph::for_each_step_on_handle_impl and delete their corresponding paths with HashGraph::destroy_path. However, if I do this, the reordering of the steps on the node that the delete does will not be picked up on by the iteration, and I won't necessarily visit all the steps on the node.

Either we need to make this work, or we need to specify that delete operations are not permitted during iterations over things they might change.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant