fix(SNTPlaceHolder): fix incorrect usage of minime token type
The `SNTPlaceholder` uses `MiniMeToken` type in a function even though only `MiniMeBase` is actually imported. This commit fixes the function signature so that the code can actually compile.
This commit is contained in:
parent
c8b6f23554
commit
715b95d2c8
|
@ -65,7 +65,7 @@ contract SNTPlaceHolder is TokenController, Ownable2Step {
|
|||
/// sent tokens to this contract.
|
||||
/// @param _token The address of the token contract that you want to recover
|
||||
/// set to 0 in case you want to extract ether.
|
||||
function claimTokens(MiniMeToken _token) public onlyOwner {
|
||||
function claimTokens(MiniMeBase _token) public onlyOwner {
|
||||
if (address(_token) == address(0)) {
|
||||
payable(owner).transfer(address(this).balance);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue