mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
crypto/kzg4844: fix error message
This commit is contained in:
parent
3327dd1655
commit
1677f350a2
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ func validateCellIndices(cells []Cell, cellIndices []uint64) error {
|
|||
return fmt.Errorf("invalid cell index %d", i)
|
||||
}
|
||||
if bm[i>>8]&(1<<(i%8)) != 0 {
|
||||
return fmt.Errorf("duplicate cell index %d")
|
||||
return fmt.Errorf("duplicate cell index %d", i)
|
||||
}
|
||||
bm[i>>8] |= 1 << (i % 8)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue