Skip to content

Commit

Permalink
remove out of date comments
Browse files Browse the repository at this point in the history
  • Loading branch information
afkbyte committed May 28, 2024
1 parent 9515c9d commit 17a2caf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/clients/encodings.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ func (v DefaultBlobEncodingCodec) DecodeBlob(encodedData []byte) ([]byte, error)
// Return exact data with buffer removed
reader := bytes.NewReader(decodedData)

// read version byte, we will not use it for now since there is only one version
versionByte, err := reader.ReadByte()
if err != nil {
return nil, fmt.Errorf("failed to read version byte")
Expand Down Expand Up @@ -162,7 +161,6 @@ func (v IFFTBlobEncodingCodec) DecodeBlob(encodedData []byte) ([]byte, error) {
// Return exact data with buffer removed
reader := bytes.NewReader(decodedData)

// read version byte, we will not use it for now since there is only one version
versionByte, err := reader.ReadByte()
if err != nil {
return nil, fmt.Errorf("failed to read version byte")
Expand Down

0 comments on commit 17a2caf

Please sign in to comment.