diff --git a/contracts/services/ServiceRegistry.sol b/contracts/services/ServiceRegistry.sol index 0cc541f..9bba7c9 100644 --- a/contracts/services/ServiceRegistry.sol +++ b/contracts/services/ServiceRegistry.sol @@ -193,7 +193,7 @@ contract Deposit { /// @notice Withdraws the tokens that have been deposited /// Only `withdrawer` can call this. /// @param _to The address where the withdrawn tokens should go - function withdraw(address payable _to) external { + function withdraw(address to) external { uint256 balance = token.balanceOf(address(this)); require(msg.sender == withdrawer, "the caller is not the withdrawer"); require(now >= release_at || service_registry.deprecated(), "deposit not released yet"); diff --git a/contracts/test/HumanStandardToken.sol b/contracts/test/HumanStandardToken.sol index 8fe0771..e28a8c2 100644 --- a/contracts/test/HumanStandardToken.sol +++ b/contracts/test/HumanStandardToken.sol @@ -65,7 +65,6 @@ contract HumanStandardToken is StandardToken { return true; } - fallback () external { revert(); } function decimals() public override view returns (uint8 decimals) { return _decimals;