Remove payable fallback from Staking.sol

This commit is contained in:
Michael Zhu 2019-10-22 12:15:07 -07:00
parent ce9f051d42
commit 74a2c3a199
2 changed files with 7 additions and 7 deletions

View File

@ -31,13 +31,6 @@ contract Staking is
MixinStake,
MixinExchangeFees
{
// this contract can receive ETH
// solhint-disable no-empty-blocks
function ()
external
payable
{}
/// @dev Initialize storage owned by this contract.
/// This function should not be called directly.
/// The StakingProxy contract will call it in `attachStakingContract()`.

View File

@ -63,6 +63,13 @@ contract TestFinalizer is
_removeAuthorizedAddressAtIndex(msg.sender, 0);
}
// this contract can receive ETH
// solhint-disable no-empty-blocks
function ()
external
payable
{}
/// @dev Activate a pool in the current epoch.
function addActivePool(
bytes32 poolId,