Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions node/node_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ func (n *Node) DownloadBundles(
// TODO (cody-littley) this is flaky, and will fail if any relay fails. We should retry failures
return nil, nil, fmt.Errorf("failed to get chunks from relays: %v", resp.err)
}
for i, bundle := range resp.bundles {
metadata := resp.metadata[i]
for j, bundle := range resp.bundles {
metadata := resp.metadata[j]
blobShards[metadata.blobShardIndex].Bundles[metadata.quorum], err = new(core.Bundle).Deserialize(bundle)
if err != nil {
return nil, nil, fmt.Errorf("failed to deserialize bundle: %v", err)
Expand Down
Loading