We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83bb6c0 commit 2d14867Copy full SHA for 2d14867
src/addresses.py
@@ -20,6 +20,8 @@ def encodeBase58(num, alphabet=ALPHABET):
20
num: The number to encode
21
alphabet: The alphabet to use for encoding
22
"""
23
+ if num < 0:
24
+ return None
25
if num == 0:
26
return alphabet[0]
27
arr = []
0 commit comments