smart-contracts icon indicating copy to clipboard operation
smart-contracts copied to clipboard

unnecessary type conversions

Open ilanDoron opened this issue 6 years ago • 0 comments

Unnecessary type conversions are introduced in the VolumeImbalance contract. In the addImbalance function, the argument uint currentBlock is passed and again cast to uint a few lines later. The same applies to the int buyAmount argument.

ilanDoron avatar Jun 26 '18 10:06 ilanDoron