Skip to content

Commit 3ee2b8c

Browse files
authored
fix typos
1 parent de7a4ae commit 3ee2b8c

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

public/content/translations/de/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 @@ Sie können auf die Methoden eines instanziierten Smart Contracts, für den Sie
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)