Skip to content

Commit

Permalink
[FAB-3246] Remove TODO from removeDataWrapper
Browse files Browse the repository at this point in the history
The TODO in removeDataWrapper was from early development and
should be removed.  The empty byte array is the correct
return value.

Change-Id: Ifa0d7b53a7c464dacfa5fc37121f85a4b0d482c2
Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
  • Loading branch information
Chris Elder committed Apr 25, 2017
1 parent 8ce1073 commit fa973d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (vdb *VersionedDB) GetState(namespace string, key string) (*statedb.Version
func removeDataWrapper(wrappedValue []byte, attachments []*couchdb.Attachment) ([]byte, version.Height) {

//initialize the return value
returnValue := []byte{} // TODO: empty byte or nil
returnValue := []byte{}

//initialize a default return version
returnVersion := version.NewHeight(0, 0)
Expand Down

0 comments on commit fa973d2

Please sign in to comment.