Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: clear subtree #272

Merged
merged 3 commits into from
Sep 29, 2023
Merged

feat: clear subtree #272

merged 3 commits into from
Sep 29, 2023

Conversation

iammadab
Copy link
Contributor

@iammadab iammadab commented Sep 29, 2023

Issue being fixed or feature implemented

Add method to clear a subtree, preserving the parent Element::Tree (setting the root_key = None)
If the merk tree has nested trees, those trees are deleted also.

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@iammadab iammadab marked this pull request as ready for review September 29, 2023 06:21
@QuantumExplorer QuantumExplorer merged commit 3eb67eb into develop Sep 29, 2023
7 checks passed
@QuantumExplorer QuantumExplorer deleted the feat/clear-subtree branch September 29, 2023 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants