ECRecover test should revert because of wrong calldata size (#1050)
* Assume that token is mintable. * ECRecover test should revert because of wrong calldata size * fix: use expectThrow * fix: ignore failing test until solc^0.5.0
This commit is contained in:
@ -22,6 +22,7 @@ contract MintedCrowdsale is Crowdsale {
|
||||
)
|
||||
internal
|
||||
{
|
||||
require(MintableToken(token).mint(_beneficiary, _tokenAmount));
|
||||
// Potentially dangerous assumption about the type of the token.
|
||||
require(MintableToken(address(token)).mint(_beneficiary, _tokenAmount));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user