Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Sep 16, 2024
1 parent 421ebf6 commit 492b575
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neo3/api/noderpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def from_json(cls, json: dict):

hf = {}
for pair in p["hardforks"]:
hf.update({pair["name"]:pair["blockheight"]})
hf.update({pair["name"]: pair["blockheight"]})

vp = VersionProtocol(
p["addressversion"],
Expand All @@ -126,7 +126,7 @@ def from_json(cls, json: dict):
p["maxvaliduntilblockincrement"],
p["memorypoolmaxtransactions"],
p["initialgasdistribution"],
hf
hf,
)
wsport = json.get("wsport", None)
return cls(
Expand All @@ -136,7 +136,7 @@ def from_json(cls, json: dict):
json["useragent"],
vp,
json["rpc"]["sessionenabled"],
json["rpc"]["maxiteratorresultitems"]
json["rpc"]["maxiteratorresultitems"],
)


Expand Down

0 comments on commit 492b575

Please sign in to comment.