Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 5f22d02

Browse files
committed
Shouldn't have a number equal to 2^256 in EVM
1 parent 266dd3f commit 5f22d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def __init__(self):
481481
self.szabo = 10 ** 12
482482
self.finney = 10 ** 15
483483
self.ether = 10 ** 18
484-
self.turing = 2 ** 256
484+
self.turing = 2 ** 256 - 1
485485

486486
denoms = Denoms()
487487

0 commit comments

Comments
 (0)