Updated base58 encoding