Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
release update
Browse files Browse the repository at this point in the history
  • Loading branch information
Moustikitos committed Jan 2, 2019
1 parent 9d82d8d commit cfe8865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dposlib/ark/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def init():
cfg.headers["API-Version"] = "2"

cfg.fees = constants["fees"]
# on v 2.1.x dynamicFees field does not exist
# so use get with an expected default value
cfg.doffsets = cfg.fees.get("dynamicFees", {"addonBytes":{}})["addonBytes"]
cfg.feestats = dict([i["type"],i["fees"]] for i in data.get("feeStatistics", {}))
cfg.explorer = data["explorer"]
Expand Down
2 changes: 1 addition & 1 deletion dposlib/util/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def loadPages(endpoint, pages=None, quiet=True, nb_tries=10):
if not isinstance(endpoint, zen.rest.EndPoint):
if not isinstance(endpoint, rest.EndPoint):
raise Exception("Invalid endpoint class")
count, pageCount, data = 0, 1, []
while count < pageCount:
Expand Down

0 comments on commit cfe8865

Please sign in to comment.