feature: Fix potential duplicate symbol bug #2026
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Because the RPC nodes return
SWTH
for both of the following contract hashes (ab38352559b8b203bde5fddfa0b07d8b2525e132
and3e09e602eeeb401a2fec8e8ea137d59aae54a139
) it was breaking balance logic within neon...This PR makes it so that the hashes map back onto the symbols for the token list found here => https://github.com/CityOfZion/neo-tokens/blob/master/tokenList.json such that those symbols are reflected in the UI and the broken logic is fixed
I also went ahead an updated the hard coded list that neon uses (in the event that github is down)
TODO: before this release goes out, update the neo tokens repo