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

Commit 0ece25b

Browse files
author
Jan Xie
committed
remove chain_difficulty mock
1 parent 85e2725 commit 0ece25b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ethereum/block.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ def __getattribute__(self, name):
178178
except AttributeError:
179179
return getattr(self.header, name)
180180

181-
# TODO: remove chain_difficulty mock
182-
def chain_difficulty(self):
183-
return self.header.number + 1
184-
185181
@property
186182
def transaction_count(self):
187183
return len(self.transactions)

0 commit comments

Comments
 (0)