Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Fix Tron address #58

Merged
merged 2 commits into from
Sep 13, 2018
Merged

Fix Tron address #58

merged 2 commits into from
Sep 13, 2018

Conversation

hewigovens
Copy link
Contributor

Add tronAddress()
hash is Crypto.hash(data.dropFirst()).suffix(20) not Crypto.sha256ripemd160(data)
https://github.com/tronprotocol/Documentation/blob/master/TRX/Tron-overview.md#62-mainnet-addresses-begin-with-41

@vikmeup vikmeup merged commit c814ea2 into master Sep 13, 2018
@vikmeup vikmeup deleted the tron-address-fix branch September 13, 2018 19:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants