We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d80611 commit 2e1f4deCopy full SHA for 2e1f4de
contracts/crowdsale/emission/AllowanceCrowdsale.sol
@@ -36,7 +36,7 @@ contract AllowanceCrowdsale is Crowdsale {
36
* @return Amount of tokens left in the allowance
37
*/
38
function remainingTokens() public view returns (uint256) {
39
- return token().allowance(_tokenWallet, this);
+ return token().allowance(_tokenWallet, address(this));
40
}
41
42
/**
0 commit comments