smart-contracts
smart-contracts copied to clipboard
unnecessary type conversions
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.