Skip to content

Commit

Permalink
Fix CI failure (Layr-Labs#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix authored Nov 29, 2023
1 parent 1b5e808 commit 23e6123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ func (cb Bundles) Serialize() ([][][]byte, error) {
}

// Returns the size of the bundles in bytes.
func (cb Bundles) Size() int {
size := 0
func (cb Bundles) Size() int64 {
size := int64(0)
for _, bundle := range cb {
for _, chunk := range bundle {
size += chunk.Size()
size += int64(chunk.Size())
}
}
return size
Expand Down

0 comments on commit 23e6123

Please sign in to comment.