Skip to content
Snippets Groups Projects
Commit 394abffa authored by Fabian Schuh's avatar Fabian Schuh
Browse files

[blockchain] fix class variable

parent e8f24047
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class Blockchain(object):
if mode == "irreversible":
self.mode = 'last_irreversible_block_num'
elif mode == "head":
mode == "head_block_number"
self.mode = "head_block_number"
else:
raise ValueError("invalid value for 'mode'!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment