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

utxoviewpoint.commit() apparently doesn't always mark entries as unmodified #1385

Open
cjdelisle opened this issue Jan 29, 2019 · 0 comments

Comments

@cjdelisle
Copy link

From reading the code here:

entry.packedFlags ^= tfModified

I expect that this line should say:

entry.packedFlags &^= tfModified

In order to be sure that the tfModified flag is cleared. As it stands (if I understand correctly), the flag is inverted, so if ever it was unmodified before commit, it will be flagged as modified after.

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

No branches or pull requests

1 participant