Fix b58 encode bug
This commit is contained in:
@@ -71,7 +71,7 @@ class common:
|
||||
return False
|
||||
|
||||
def to_b58(self, text):
|
||||
return 'l' + base58.b58encode(text).decode()
|
||||
return 'l' + base58.b58encode(text.encode()).decode()
|
||||
|
||||
def from_b58(self, text):
|
||||
if not text.startswith('l'):
|
||||
|
Reference in New Issue
Block a user