Skip to content

Commit 67a3e35

Browse files
authored
Merge pull request #23 from wakamex/patch-1
fix: call block_number property of BlockObject
2 parents e8a18e0 + 1408e1f commit 67a3e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/gas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
blocks = api.block.blocks_by_number(order='desc', limit=500)
88
fig, ax = plt.subplots()
9-
ax.plot([x.number for x in blocks], [x.gas_used for x in blocks])
9+
ax.plot([x.block_number for x in blocks], [x.gas_used for x in blocks])

0 commit comments

Comments
 (0)