Skip to content

Commit

Permalink
Fix Variable Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nipol committed Apr 22, 2018
1 parent c606ec4 commit cf71831
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions en/6/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand All @@ -500,7 +500,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Eating a kitty. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.feedOnKitty(zombieId, KittyId)
return cryptoZombies.methods.feedOnKitty(zombieId, KittyId)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Ate a kitty and spawned a new Zombie!");
Expand Down Expand Up @@ -582,7 +582,7 @@ function createRandomZombie(name) {
// the transaction has been sent
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand Down
6 changes: 3 additions & 3 deletions es/6/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand All @@ -422,7 +422,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Eating a kitty. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.feedOnKitty(zombieId, KittyId)
return cryptoZombies.methods.feedOnKitty(zombieId, KittyId)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Ate a kitty and spawned a new Zombie!");
Expand Down Expand Up @@ -497,7 +497,7 @@ function createRandomZombie(name) {
// se haya completado correctamente.
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Enviar el texto a nuestro contrato:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand Down
6 changes: 3 additions & 3 deletions fr/6/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand All @@ -500,7 +500,7 @@ material:
// the transaction has been sent
$("#txStatus").text("En train de manger un chaton, cela peut prendre du temps...");
// Send the tx to our contract:
return CryptoZombies.methods.feedOnKitty(zombieId, KittyId)
return cryptoZombies.methods.feedOnKitty(zombieId, KittyId)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("A mangé un chaton et a engendré un nouveau Zombie !");
Expand Down Expand Up @@ -582,7 +582,7 @@ function createRandomZombie(name) {
// signaler à l'utilisateur que la transaction a été envoyée
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Nous envoyons la tx à notre contrat :
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand Down
6 changes: 3 additions & 3 deletions jp/6/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand All @@ -500,7 +500,7 @@ material:
// the transaction has been sent
$("#txStatus").text("Eating a kitty. This may take a while...");
// Send the tx to our contract:
return CryptoZombies.methods.feedOnKitty(zombieId, KittyId)
return cryptoZombies.methods.feedOnKitty(zombieId, KittyId)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Ate a kitty and spawned a new Zombie!");
Expand Down Expand Up @@ -582,7 +582,7 @@ function createRandomZombie(name) {
// トランザクションが送信されたことを知らせる
$("#txStatus").text("Creating new zombie on the blockchain. This may take a while...");
// トランザクションをコントラクトに送信する:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Successfully created " + name + "!");
Expand Down
6 changes: 3 additions & 3 deletions pt/6/07-sending-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ material:
  // a transação foi enviada
  $("#txStatus").text("Criando novo zumbi no blockchain. Isso pode demorar um pouco ...");
  // Envie o tx para nosso contrato:
  return CryptoZombies.methods.createRandomZombie(name)
  return cryptoZombies.methods.createRandomZombie(name)
  .send({from: userAccount})
  .on("receipt", function (receipt) {
    $ ("#txStatus").text("Criado com sucesso" + name + "!");
Expand All @@ -501,7 +501,7 @@ material:
  // a transação foi enviada
$("#txStatus").text("Comendo um gatinho. Isso pode demorar um pouco...");
// Envie o tx para nosso contrato:
return CryptoZombies.methods.feedOnKitty(zombieId, KittyId)
return cryptoZombies.methods.feedOnKitty(zombieId, KittyId)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("Comeu um gatinho e gerou um novo Zumbi!");
Expand Down Expand Up @@ -584,7 +584,7 @@ function createRandomZombie(name) {
  // a transação foi enviada
  $("#txStatus").text("Criando novo zumbi no blockchain. Isso pode demorar um pouco ...");
  // Envie o tx para nosso contrato:
  return CryptoZombies.methods.createRandomZombie(name)
  return cryptoZombies.methods.createRandomZombie(name)
  .send({from: userAccount})
  .on("receipt", function (receipt) {
    $ ("#txStatus").text("Criado com sucesso" + name + "!");
Expand Down
6 changes: 3 additions & 3 deletions zh/6/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ material:
// the transaction has been sent
$("#txStatus").text("正在区块链上创建僵尸,这将需要一会儿...");
// Send the tx to our contract:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("成功生成了 " + name + "!");
Expand All @@ -953,7 +953,7 @@ material:
// the transaction has been sent
$("#txStatus").text("正在吃猫咪,这将需要一会儿...");
// Send the tx to our contract:
return CryptoZombies.methods.feedOnKitty(zombieId, kittyId)
return cryptoZombies.methods.feedOnKitty(zombieId, kittyId)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("吃了一只猫咪并生成了一只新僵尸!");
Expand Down Expand Up @@ -1035,7 +1035,7 @@ function createRandomZombie(name) {
// 事务被发送出去了
$("#txStatus").text("正在区块链上创建僵尸,这将需要一会儿...");
// 把事务发送到我们的合约:
return CryptoZombies.methods.createRandomZombie(name)
return cryptoZombies.methods.createRandomZombie(name)
.send({ from: userAccount })
.on("receipt", function(receipt) {
$("#txStatus").text("成功生成了 " + name + "!");
Expand Down

0 comments on commit cf71831

Please sign in to comment.