Remove payable fallback from Staking.sol
This commit is contained in:
parent
ce9f051d42
commit
74a2c3a199
@ -31,13 +31,6 @@ contract Staking is
|
|||||||
MixinStake,
|
MixinStake,
|
||||||
MixinExchangeFees
|
MixinExchangeFees
|
||||||
{
|
{
|
||||||
// this contract can receive ETH
|
|
||||||
// solhint-disable no-empty-blocks
|
|
||||||
function ()
|
|
||||||
external
|
|
||||||
payable
|
|
||||||
{}
|
|
||||||
|
|
||||||
/// @dev Initialize storage owned by this contract.
|
/// @dev Initialize storage owned by this contract.
|
||||||
/// This function should not be called directly.
|
/// This function should not be called directly.
|
||||||
/// The StakingProxy contract will call it in `attachStakingContract()`.
|
/// The StakingProxy contract will call it in `attachStakingContract()`.
|
||||||
|
@ -63,6 +63,13 @@ contract TestFinalizer is
|
|||||||
_removeAuthorizedAddressAtIndex(msg.sender, 0);
|
_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.
|
/// @dev Activate a pool in the current epoch.
|
||||||
function addActivePool(
|
function addActivePool(
|
||||||
bytes32 poolId,
|
bytes32 poolId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user