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

Commit 45c3303

Browse files
committed
Fix memory error in Python2.7 caused by range
1 parent 9529b34 commit 45c3303

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ethereum/chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import time
2+
from builtins import range
23
from ethereum import utils
34
from ethereum.utils import parse_as_bin, big_endian_to_int
45
from ethereum import parse_genesis_declaration
@@ -359,4 +360,3 @@ def db(self):
359360
@property
360361
def config(self):
361362
return self.env.config
362-

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PyYAML
44
repoze.lru
55
pbkdf2
66
pycryptodome>=3.3.1
7+
future==0.16.0
78
scrypt
89
rlp>=0.4.7
910
https://github.com/ethereum/ethash/tarball/master

0 commit comments

Comments
 (0)