Solidity

Solidity : Checking for strict balance equality

Overview

The balance is checked for strict equality.

Avoid checking for strict balance equality: an adversary can forcibly send ether to any address via selfdestruct() or by mining.

Vulnerability type by SmartDec classification: Ether transfer.

LOW

DerScanner Severity Score

Check your Solidity code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.

How DerScanner analyses Solidity code