Skip to content

Commit

Permalink
Match Example
Browse files Browse the repository at this point in the history
  • Loading branch information
Nipol committed Apr 22, 2018
1 parent ce72d7b commit 08ee8f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion en/6/08.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ material:
function levelUp(zombieId) {
$("#txStatus").text("Leveling up your zombie...");
return cryptoZombies.methods.levelUp(zombieId)
.send({ from: userAccount, value: web3js.utils.toWei("0.001") })
.send({ from: userAccount, value: web3js.utils.toWei("0.001", "ether") })
.on("receipt", function(receipt) {
$("#txStatus").text("Power overwhelming! Zombie successfully leveled up");
})
Expand Down
2 changes: 1 addition & 1 deletion es/6/08.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ material:
function levelUp(zombieId) {
$("#txStatus").text("Leveling up your zombie...");
return cryptoZombies.methods.levelUp(zombieId)
.send({ from: userAccount, value: web3js.utils.toWei("0.001") })
.send({ from: userAccount, value: web3js.utils.toWei("0.001", "ether") })
.on("receipt", function(receipt) {
$("#txStatus").text("Power overwhelming! Zombie successfully leveled up");
})
Expand Down
2 changes: 1 addition & 1 deletion fr/6/08.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ material:
function levelUp(zombieId) {
$("#txStatus").text("Votre zombie est en train de gagner un niveau...");
return cryptoZombies.methods.levelUp(zombieId)
.send({ from: userAccount, value: web3js.utils.toWei("0.001") })
.send({ from: userAccount, value: web3js.utils.toWei("0.001", "ether") })
.on("receipt", function(receipt) {
$("#txStatus").text("Quelle puissance écrasante ! Le zombie a bien gagné un niveau");
})
Expand Down
2 changes: 1 addition & 1 deletion pt/6/08-calling-payable-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ material:
function levelUp(zombieId) {
$("#txStatus").text(""Upando seu zumbi..."");
return cryptoZombies.methods.levelUp(zombieId)
.send({ from: userAccount, value: web3js.utils.toWei("0.001") })
.send({ from: userAccount, value: web3js.utils.toWei("0.001", "ether") })
.on("receipt", function(receipt) {
$("#txStatus").text("Poder esmagador! Zumbi upado com sucesso");
})
Expand Down

0 comments on commit 08ee8f7

Please sign in to comment.