Skip to content

Commit

Permalink
Merge pull request #3243 from bneeland/patch-1
Browse files Browse the repository at this point in the history
Fix highlighted lines in console.log code example
  • Loading branch information
fvictorio committed Oct 6, 2022
2 parents 972f42d + 58d3dda commit 6afe0b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract Token {

Then you can just add some `console.log` calls to the `transfer()` function as if you were using it in JavaScript:

```solidity{2,3}
```solidity{4-9}
function transfer(address to, uint256 amount) external {
require(balances[msg.sender] >= amount, "Not enough tokens");
Expand Down

0 comments on commit 6afe0b4

Please sign in to comment.