Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PRIV] Persist private world state only if we are mining. #1191

Merged
merged 4 commits into from
Apr 1, 2019

Conversation

Puneetha17
Copy link
Contributor

PR description

We update the private world state in Privacy precompiled contract. The contract gets called twice on miner node - when mining and importing. This fixes the redundant update to the private world state.

@lucassaldanha lucassaldanha self-assigned this Apr 1, 2019
Copy link
Contributor

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

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

LGTM

@lucassaldanha lucassaldanha merged commit 679d66d into PegaSysEng:master Apr 1, 2019
@Puneetha17 Puneetha17 deleted the persist-only-mining branch April 1, 2019 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants