From 46381f391ac5af045f3e2136994a0ea04ea8fd16 Mon Sep 17 00:00:00 2001 From: Matthew Lam Date: Fri, 22 Sep 2023 17:20:58 +0000 Subject: [PATCH] remove TODO --- utils/utils.go | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index f12deeb8..992df19f 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -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