Skip to content

Commit 2baf7f9

Browse files
author
Jun Nemoto
committed
[FAB-11958] Fix minor issues in pvt data tutorial
Fix minor issues like the following. - Incorrect indent - Unnecessary double quotation Change-Id: I93d6aee85a035f44367b85cf13c46ed2cdf38576 Signed-off-by: Jun Nemoto <jun.nemoto.ff@hitachi.com>
1 parent fdc4889 commit 2baf7f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/private_data_tutorial.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ be accessed.
139139
140140
Specifically access to the private data will be restricted as follows:
141141

142-
- ``name, color, size, and owner`` will be visible to all members of the channel (Org1 and Org2)
143-
- ``price`` only visible to members of Org1
142+
- ``name, color, size, and owner`` will be visible to all members of the channel (Org1 and Org2)
143+
- ``price`` only visible to members of Org1
144144

145145
Thus two different sets of private data are defined in the marbles private data
146146
sample. The mapping of this data to the collection policy which restricts its
@@ -218,7 +218,7 @@ For example, in the following snippet of the ``initMarble`` function,
218218
err = stub.PutPrivateData("collectionMarblePrivateDetails", marbleName, marblePrivateDetailsBytes)
219219
if err != nil {
220220
return shim.Error(err.Error())
221-
}
221+
}
222222
223223
To summarize, the policy definition above for our ``collection.json``
224224
allows all peers in Org1 and Org2 can store and transact (endorse, commit,
@@ -529,7 +529,7 @@ Switch to a peer in Org2
529529
~~~~~~~~~~~~~~~~~~~~~~~~
530530

531531
From inside the docker container, run the following commands to switch to
532-
the peer which is unauthorized to the marbles ``price`` private data.
532+
the peer which is unauthorized to access the marbles ``price`` private data.
533533

534534
:guilabel:`Try it yourself`
535535

@@ -582,7 +582,7 @@ the public state but will not have the private state.
582582
transaction ID: b04adebbf165ddc90b4ab897171e1daa7d360079ac18e65fa15d84ddfebfae90:
583583
Private data matching public hash version is not available. Public hash
584584
version = &version.Height{BlockNum:0x6, TxNum:0x0}, Private data version =
585-
(*version.Height)(nil)"}"
585+
(*version.Height)(nil)"}
586586
587587
Members of Org2 will only be able to see the public hash of the private data.
588588

0 commit comments

Comments
 (0)