I have ran the quorum-example, deploying a private contract. https://github.com/jpmorganchase/quorum-examples/tree/master/examples/7nodes
I followed the commands written in README. However, I'm quite confused about why node4 can modified the status of this private contract.
When execute
private.get()
node1 got 42, node7 got 42, and node4 got 0.
But after node4 execute
private.set(7,{from:eth.coinbase,privateFor:["ROAZBWtSacxXQrOe3FGAqJDyJjFePR5ce4TSIzmJ0Bc="]});
node1 still got 42, node4 got 0, and only node7 got 7.
It is a private contract between node1 and node7, so I'm wondering why node4 can change states from 42 to 7