protolambda / go-kzg

FFT, data-recovery and KZG commitments, a.k.a. Kate commitments, in Go - *super experimental*
MIT License
90 stars 26 forks source link

Comment and cast fixes #36

Closed z3n-chada closed 1 year ago

z3n-chada commented 1 year ago

Fixes some of the prefixes in leading articles for comments.

Also removes a redundant [32]byte cast. There are several more redundant typecasts but you could make the argument they add to readability.

roberto-bayardo commented 1 year ago

Fixes some of the prefixes in leading articles for comments.

Also removes a redundant [32]byte cast. There are several more redundant typecasts but you could make the argument they add to readability.

Please do feel free to remove them. There were a few iterations on the various types in the eth/ package before I was happy with them, so I'm not surprised there's some cruft left behind. Any unnecessary casts were not intentional.