We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Root should be only saved once.
Root is always saved twice
Call update on sparse merkle tree and add the log for db save
update
The text was updated successfully, but these errors were encountered:
Specifically, https://github.com/LiskHQ/lisk-sdk/blob/development/elements/lisk-tree/src/sparse_merkle_tree/sparse_merkle_tree.ts#L168 line is not necessary since the root is handled already in https://github.com/LiskHQ/lisk-sdk/blob/development/elements/lisk-tree/src/sparse_merkle_tree/sparse_merkle_tree.ts#L162
Sorry, something went wrong.
Merge pull request #6663 from LiskHQ/6655-smt-root
876e133
On update root is saved twice on sparse merkle tree - Closes #6655
nazarhussain
Successfully merging a pull request may close this issue.
Expected behavior
Root should be only saved once.
Actual behavior
Root is always saved twice
Steps to reproduce
Call
update
on sparse merkle tree and add the log for db saveThe text was updated successfully, but these errors were encountered: