Ultimate magazine theme for WordPress.

Contract Bug Disables Icon (ICX) Token Transfers

16,263

According to Reddit poster, the ICON smart contract shows a bug that it is the same one found in another cryptocurrency project called Yggdrash. The bug is reportedly a flaw in the modifier code as seen in the image below.

- Advertisement -

The error lies in the “onlyFromWallet” modifier, which controls the enable/disable ICX token transfer function. Instead of “!=,” it should be “==.” By using the former, the smart contract interprets the code as saying the wallet address is not equal to a specified address when the reverse is the case. So, anyone apart from the contract creator can enable or disable token transfers, which of course it is a huge problem. According to the original forum poster on Reddit, someone has been spamming the contract by disabling ICX transfers.

Binance, which recently announced its support for the ICX mainnet token swaps, has reportedly disabled the ICX wallet. Another edit to the Redditors post shows that the platform has resumed ICON token transfer operations. However, at the time of writing this report, the modifier error is still in the smart contract code.

The Way Forward For ICON

The error seems to be a simple one to fix, it is yet another setback for the ICON project that has seen delays in 2018. Despite launching its mainnet in January, token swaps were delayed for some months, leaving investors apprehensive.

ICON co-founder, Min Kim sent a tweet acknowledging the problem, which he called a “minor bug.” According to him, a temporary fix had been initiated as a stop-gap. Kim also said that the development team is currently working on a more long-term solution.

Several people are still reporting that the problem keeps. A look at the ICON smart contract address shows that numerous transactions are still being canceled due to the bug. The consensus of social media is that this latest problem is a damning indictment of the ICON project. According to them, an $800 million project should do their due diligence by properly auditing smart contract codes before launching them.

https://twitter.com/BittBurger/status/1007847764393381888?ref_src=twsrc%5Etfw&ref_url=http%3A%2F%2Fbitcoinist.com%2Fsmart-contract-bug-disable-icon-icx-transfers%2F

Leave A Reply

The team of DiaryCoin would like to keep you updated with the lastest crypto-news

Would you like to?