(v)
return decimal
Decode a Base58 encoded string as an integer
Decode a Base58 encoded string as an integer
Decode a Base58 encoded string as an integer
def b58decode_int(v):
    '''Decode a Base58 encoded string as an integer'''

    v = scrub_input(v)

    decimal = 0
    for char in v:
        decimal = decimal * 58 + alphabet.index(char)
    return decimal
def b58decode_int ( v ) : v = scrub_input ( v ) decimal = 0 for char in v : decimal = decimal * 58 + alphabet . index ( char ) return decimal