Skip to content

Commit 2e1f4de

Browse files
Brendan Chounventuro
authored andcommitted
this -> address(this) (#1144)
1 parent 0d80611 commit 2e1f4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/crowdsale/emission/AllowanceCrowdsale.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ contract AllowanceCrowdsale is Crowdsale {
3636
* @return Amount of tokens left in the allowance
3737
*/
3838
function remainingTokens() public view returns (uint256) {
39-
return token().allowance(_tokenWallet, this);
39+
return token().allowance(_tokenWallet, address(this));
4040
}
4141

4242
/**

0 commit comments

Comments
 (0)