Skip to content

Commit fa973d2

Browse files
author
Chris Elder
committed
[FAB-3246] Remove TODO from removeDataWrapper
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 <[email protected]>
1 parent 8ce1073 commit fa973d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/ledger/kvledger/txmgmt/statedb/statecouchdb/statecouchdb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func (vdb *VersionedDB) GetState(namespace string, key string) (*statedb.Version
136136
func removeDataWrapper(wrappedValue []byte, attachments []*couchdb.Attachment) ([]byte, version.Height) {
137137

138138
//initialize the return value
139-
returnValue := []byte{} // TODO: empty byte or nil
139+
returnValue := []byte{}
140140

141141
//initialize a default return version
142142
returnVersion := version.NewHeight(0, 0)

0 commit comments

Comments
 (0)