Skip to content

Commit

Permalink
remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lam committed Sep 22, 2023
1 parent d4c9f5e commit 46381f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func CheckStakeWeightExceedsThreshold(accumulatedSignatureWeight *big.Int, total

// BigToHashSafe ensures that a bignum value is able to fit into a 32 byte buffer before converting it to a common.Hash
// Returns an error if overflow/truncation would occur by trying to perfom this operation.
// TODO is this function still needed? It works for negative numbers now.
func BigToHashSafe(in *big.Int) (common.Hash, error) {
if in == nil {
return common.Hash{}, ErrNilInput
Expand Down

0 comments on commit 46381f3

Please sign in to comment.