From 079d5d09110c39a2bbb8613e47dffa5d08732a3d Mon Sep 17 00:00:00 2001 From: dong pan Date: Tue, 24 Oct 2017 16:31:01 +0800 Subject: [PATCH] [FAB-6732] Fix typos in gossip/privdata Fix typos. Change-Id: I1f38d63321e3225444eb2937cacafaa379cf555b Signed-off-by: dong pan --- gossip/privdata/coordinator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gossip/privdata/coordinator.go b/gossip/privdata/coordinator.go index ce40950e0a4..cf3cfd6c154 100644 --- a/gossip/privdata/coordinator.go +++ b/gossip/privdata/coordinator.go @@ -52,7 +52,7 @@ type TransientStore interface { // write sets persisted from different endorsers (via Gossip) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error) - // PurgeByTxids removes private read-write set of a given set of transactions from the + // PurgeByTxids removes private read-write sets for a given set of transactions from the // transient store PurgeByTxids(txids []string) error @@ -73,7 +73,7 @@ type Coordinator interface { // returns missing transaction ids StoreBlock(block *common.Block, data util.PvtDataCollections) error - // StorePvtData used to persist private date into transient store + // StorePvtData used to persist private data into transient store StorePvtData(txid string, privData *rwset.TxPvtReadWriteSet) error // GetPvtDataAndBlockByNum get block by number and returns also all related private data