Skip to content

Commit

Permalink
-- commented & EOF newline
Browse files Browse the repository at this point in the history
Signed-off-by: Mo Shaikjee <shaikjeemohammed@gmail.com>
  • Loading branch information
mshakeg committed Oct 17, 2023
1 parent a28f56a commit 11b7e45
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ coverage/

## --- Hardhat Gitignore for Foundry artifacts ---
artifacts/forge-std
artifacts/ds-test
artifacts/ds-test
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ remappings = [
'hardhat/=node_modules/hardhat/',
]

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
6 changes: 0 additions & 6 deletions test/foundry/mocks/hts-precompile/HederaNonFungibleToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ contract HederaNonFungibleToken is ERC721, Constants {

_transfer(from, to, tokenId);
responseCode = HederaResponseCodes.SUCCESS;
// if (getApproved(tokenId) == spender) {
// _transfer(from, to, tokenId);
// responseCode = HederaResponseCodes.SUCCESS;
// } else {
// responseCode = HederaResponseCodes.INSUFFICIENT_TOKEN_BALANCE;
// }
}

/// @dev unlike fungible/ERC20 tokens this only allows for a single spender to be approved at any one time
Expand Down

0 comments on commit 11b7e45

Please sign in to comment.