diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index d458ec085..cf285d1ae 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -378,8 +378,6 @@ def clamp(minval: int, maxval: int, x: int) -> int: return maxval else: return x -def clamp(minval, maxval, x): - return minval if x < minval else maxval if x > maxval else x ``` Now, our combined helper method: