Skip to content

Commit

Permalink
Remove unused type (#2120)
Browse files Browse the repository at this point in the history
Signed-off-by: manish <manish.sethi@gmail.com>
  • Loading branch information
manish-sethi authored Nov 13, 2020
1 parent d997115 commit 1f59e41
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/ledger/ledger_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,18 +573,6 @@ func (missingPvtDataInfo MissingPvtDataInfo) Add(blkNum, txNum uint64, ns, coll
Collection: coll})
}

// ErrCollectionConfigNotYetAvailable is an error which is returned from the function
// ConfigHistoryRetriever.CollectionConfigAt() if the latest block number committed
// is lower than the block number specified in the request.
type ErrCollectionConfigNotYetAvailable struct {
MaxBlockNumCommitted uint64
Msg string
}

func (e *ErrCollectionConfigNotYetAvailable) Error() string {
return e.Msg
}

// CollConfigNotDefinedError is returned whenever an operation
// is requested on a collection whose config has not been defined
type CollConfigNotDefinedError struct {
Expand Down

0 comments on commit 1f59e41

Please sign in to comment.