Skip to content

Commit de7a4ae

Browse files
authored
fix typos
1 parent 147769d commit de7a4ae

File tree

1 file changed

+2
-2
lines changed
  • public/content/translations/it/developers/tutorials/calling-a-smart-contract-from-javascript

1 file changed

+2
-2
lines changed

public/content/translations/it/developers/tutorials/calling-a-smart-contract-from-javascript/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Puoi accedere ai metodi di un contratto intelligente istanziato per cui hai forn
105105
```js
106106
daiToken.methods.balanceOf(senderAddress).call(function (err, res) {
107107
if (err) {
108-
console.log("An error occured", err)
108+
console.log("An error occurred", err)
109109
return
110110
}
111111
console.log("The balance is: ", res)
@@ -123,7 +123,7 @@ daiToken.methods
123123
.transfer(receiverAddress, "100000000000000000000")
124124
.send({ from: senderAddress }, function (err, res) {
125125
if (err) {
126-
console.log("An error occured", err)
126+
console.log("An error occurred", err)
127127
return
128128
}
129129
console.log("Hash of the transaction: " + res)

0 commit comments

Comments
 (0)