Skip to content

Commit

Permalink
fix retriever fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Jul 26, 2024
1 parent 6c199ce commit 0be5e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/clients/node_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ func (c client) GetChunks(
case node.ChunkEncoding_GOB:
chunk, err = new(encoding.Frame).Deserialize(data)
case node.ChunkEncoding_UNKNOWN:
// For backward compatibility, we fallback the UNKNOWN to GNARK
chunk, err = new(encoding.Frame).DeserializeGnark(data)
// For backward compatibility, we fallback the UNKNOWN to GOB
chunk, err = new(encoding.Frame).Deserialize(data)
if err != nil {
chunksChan <- RetrievedChunks{
OperatorID: opID,
Expand Down

0 comments on commit 0be5e3d

Please sign in to comment.