Skip to content

Conversation

@furszy
Copy link

@furszy furszy commented Apr 12, 2020

SetMerkleBranch's return value is no longer being used. Remove the unnecessary code part. Coming from upstream@9446.

And removed the cs_main lock from CWallet::SyncTransaction that was previously needed do the SetMerkleBranch assert lock held.

furszy added 2 commits April 12, 2020 13:58
SetMerkleBranch was the only call underneath SyncTransaction that
required the cs_main lock.
@random-zebra
Copy link

Nice. Concept ACK

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a209031

@random-zebra random-zebra added this to the 4.1.0 milestone Apr 13, 2020
Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK a209031

@furszy furszy merged commit b92584a into PIVX-Project:master Apr 14, 2020
JSKitty pushed a commit to ZENZO-Ecosystem/ZENZO-Core that referenced this pull request Apr 14, 2020
@furszy furszy deleted the setMerkleBranch_remove_cs_main_lock branch August 11, 2023 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants