Skip to content

Commit

Permalink
[libs] Add capability to produce MUSE addresses/pubkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Nov 4, 2015
1 parent 5af2563 commit 7b8a67d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graphenebase/base58.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def __format__(self, _format) :
elif _format.lower() == "btc":
return base58CheckEncode(0x00, self._hex)
elif _format.lower() == "bts" :
return _format + str(self)
return _format.upper() + str(self)
elif _format.lower() == "muse" :
return _format.upper() + str(self)
else :
raise Exception("Format %s unkown." %_format)
"""
Expand Down

0 comments on commit 7b8a67d

Please sign in to comment.