Bump github.com/fxamacker/cbor/v2 to v2.6.0.
This commit is contained in:
3
vendor/github.com/fxamacker/cbor/v2/bytestring.go
generated
vendored
3
vendor/github.com/fxamacker/cbor/v2/bytestring.go
generated
vendored
@@ -57,6 +57,7 @@ func (bs *ByteString) UnmarshalCBOR(data []byte) error {
|
||||
return &UnmarshalTypeError{CBORType: typ.String(), GoType: typeByteString.String()}
|
||||
}
|
||||
|
||||
*bs = ByteString(d.parseByteString())
|
||||
b, _ := d.parseByteString()
|
||||
*bs = ByteString(b)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user