# payable-fallback

# Description

When fallback is not payable you will not be able to receive ethers.

# Options

This rule does not require any options.

# Example Config

{
  "id": "payable-fallback",
  "severity": "WARNING"
}

# Examples

# Good

Fallback is payable

pragma solidity 0.4.4;

contract A {
	function () public payable {}
}

# Bad

Fallback is not payable

pragma solidity 0.4.4;

contract A {
	function () public {}
}

# References