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:
r4bbit 2023-10-05 11:54:40 +02:00
parent c8b6f23554
commit 715b95d2c8
1 changed files with 2 additions and 2 deletions

View File

@ -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;