Despite positive news regarding popular South Korean based cryptocurrency, Icon, a smart contract bug has temporarily crippled the transfer of the ICX ERC-20 token.
!= Or ==, Which One Is Correct?
It was recently revealed that a flaw in ICX’s smart contract allowed for users to disable the transfer of all ICX ERC-20 tokens.
Once the public was made aware of this bug, users begin to spam the disable function on ICX’s Ethereum smart contract, whether out of malicious intent or otherwise.
According to Reddit user, ‘ThrashSilence’, the flaw is only composed of one incorrect character, noting:
- != means NOT EQUAL
- == means EQUAL
In this case, the contract is enforcing that the wallet address is NOT equal to a specified one, when it should be equal. This allows any address except the contract creator to enable or disable token transfers for everyone.
Many users began to criticize the Icon team, which currently runs a cryptocurrency with a market cap of over $750 million according to CoinMarketCap.
Another Reddit user, ‘_dnov’, stated:
How can you have millions of dollars and not invest in software testers? I mean how? No matter how good you are, some testing component should be crucial in your development process, especially at that scale.
‘_dnov’ along with a