diff --git a/les/utils/expiredvalue.go b/les/utils/expiredvalue.go index 6716b2801bc6..1a2b3d995e3b 100644 --- a/les/utils/expiredvalue.go +++ b/les/utils/expiredvalue.go @@ -17,7 +17,6 @@ package utils import ( - "fmt" "math" "sync" @@ -89,10 +88,9 @@ func (e *ExpiredValue) Add(amount int64, logOffset Fixed64) int64 { if base >= 0 || uint64(-base) <= e.Base { // This is a temporary fix to circumvent a golang // uint conversion issue on arm64, which needs to - // be investigated further. FIXME - fmt.Printf("problem: %d %f %d %d %d\n", e.Base, base, uint64(base), int64(e.Base), int64(base)) - e.Base += uint64(base) - fmt.Println(e.Base) + // be investigated further. More details at: + // https://github.com/golang/go/issues/43047 + e.Base += uint64(int64(base)) return amount } net := int64(-float64(e.Base) / factor)