Skip to content

Commit

Permalink
[FAB-6732] Fix typos in gossip/privdata
Browse files Browse the repository at this point in the history
Fix typos.

Change-Id: I1f38d63321e3225444eb2937cacafaa379cf555b
Signed-off-by: dong pan <pandong9@wanda.cn>
  • Loading branch information
dong pan authored and denyeart committed Nov 14, 2017
1 parent decb95f commit 079d5d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossip/privdata/coordinator.go
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 079d5d0

Please sign in to comment.