Home / Vulnerability Database / Solidity : Checking for strict balance equality
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

Do you want to fix Solidity : Checking for strict balance equality in your application?

See also

Solidity

Solidity : Return value of transfer, transferFrom, or approve function of ERC-20 standard is always false.

Solidity

Solidity : Using approve function of the ERC-20 token standard

Solidity

Solidity : ERC-20 transfer should throw