Skip to content

Commit f45a52a

Browse files
author
Brendan Chou
committed
fix
1 parent b5514b8 commit f45a52a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/lifecycle/TokenDestructible.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ contract TokenDestructible is Ownable {
2121
* @notice The called token contracts could try to re-enter this contract. Only
2222
supply token contracts you trust.
2323
*/
24-
function destroy(address[] _tokens) onlyOwner public {
24+
function destroy(address[] tokens) onlyOwner public {
2525

2626
// Transfer tokens to owner
27-
for (uint256 i = 0; i < _tokens.length; i++) {
28-
ERC20Basic token = ERC20Basic(_tokens[i]);
27+
for (uint256 i = 0; i < tokens.length; i++) {
28+
ERC20Basic token = ERC20Basic(tokens[i]);
2929
uint256 balance = token.balanceOf(address(this));
3030
token.transfer(owner, balance);
3131
}

0 commit comments

Comments
 (0)