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

Commit

Permalink
bigfix: remove solar from ledger identification
Browse files Browse the repository at this point in the history
  • Loading branch information
Moustikitos committed Jul 3, 2022
1 parent 36dc95f commit fbecb9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dposlib/cmd/send.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def main():
if re.match("^ldgr:([0-9]+);([0-9]+)$", args.identity):
accnt, idx = [int(e) for e in args.identity.split(":")[-1].split(";")]
try:
wallet = api.Ledger(account=accnt, index=idx, fee=fee)
assert "sxp" not in args.net, "Solar network not supported"
wallet = api.Ledger(account=accnt, index=idx, fee=fee, debug=True)
except Exception as error:
print("%r" % error)
return 1
Expand Down

0 comments on commit fbecb9a

Please sign in to comment.