andelf / tronpy

TRON Python Client Library.
MIT License
212 stars 96 forks source link

broadcast extra '/' cause change in the base url #28

Closed aghamir closed 2 years ago

aghamir commented 3 years ago

Slash in the first of this line cause instead of the url like to https://example.com/trx-fullnode/wallet/broadcasttransaction convert to https://example.com/wallet/broadcasttransaction https://github.com/andelf/tronpy/blob/9e869fb508c3f77b432948cc56cd66985375843d/tronpy/tron.py#L869 If we remove the first '/' this works correctly.

danielqba commented 3 years ago

thanks fot this!