Skip to content

Commit

Permalink
Pass num_retries to bitshares instance for cli
Browse files Browse the repository at this point in the history
Fixes exceptions during handling on_market callbacks.
  • Loading branch information
bitphage committed Jul 30, 2018
1 parent 0941798 commit 6920233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dexbot/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def chain(f):
def new_func(ctx, *args, **kwargs):
ctx.bitshares = BitShares(
ctx.config["node"],
num_retries=-1,
**ctx.obj
)
set_shared_bitshares_instance(ctx.bitshares)
Expand Down

0 comments on commit 6920233

Please sign in to comment.