File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
public/content/translations/id/developers/tutorials/calling-a-smart-contract-from-javascript Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ Anda dapat mengakses metode kontrak pintar beserta instancenya yang untuknya And
105
105
``` js
106
106
daiToken .methods .balanceOf (senderAddress).call (function (err , res ) {
107
107
if (err) {
108
- console .log (" An error occured " , err)
108
+ console .log (" An error occurred " , err)
109
109
return
110
110
}
111
111
console .log (" The balance is: " , res)
@@ -123,7 +123,7 @@ daiToken.methods
123
123
.transfer (receiverAddress, " 100000000000000000000" )
124
124
.send ({ from: senderAddress }, function (err , res ) {
125
125
if (err) {
126
- console .log (" An error occured " , err)
126
+ console .log (" An error occurred " , err)
127
127
return
128
128
}
129
129
console .log (" Hash of the transaction: " + res)
You can’t perform that action at this time.
0 commit comments