xielin пре 5 година
родитељ
комит
13ecfe2da7
1 измењених фајлова са 1 додато и 7 уклоњено
  1. 1 7
      app/Console/Commands/Trace.php

+ 1 - 7
app/Console/Commands/Trace.php

@@ -143,13 +143,11 @@ class Trace extends Command
             $coinCode = "EOS";
             $coin = "0.1";//每次转多少
 
-            $walletPassword = "PW5KiK4oBMgjvxjhYxJzeRWNYtLot7GbH9wLM8pDmTH17yzUb4GTP";
+            $walletPassword = "PW5JbENyMrmYGc5LBMKGf2E6QaFoXSQZ6CDWMET7a6o6cXvy35qH1";
             $walletName = "caihongxingqiu";
             $eos->setWalletInfo($walletName, $walletPassword);
             $aliceBalance = json_decode($api->getCurrencyBalance('eosio.token', $accountA, $coinCode));
             $bobBalance = json_decode($api->getCurrencyBalance('eosio.token', $accountB, $coinCode));
-            $this->line('balance-a:'.var_export($aliceBalance,true));
-            $this->line('balance-b:'.var_export($bobBalance,true));
             $balaceA = 0;
             $balaceB = 0;
             if (isset($aliceBalance[0])) {
@@ -158,10 +156,6 @@ class Trace extends Command
             if (isset($bobBalance[0])) {
                 $balaceB = $bobBalance[0];
             }
-            $this->line('balance-aa:'.$balaceA);
-            $this->line('balance-bb:'.$balaceB);
-            $this->line('balance-aa-int:'.floatval($balaceA));
-            $this->line('balance-bb-int:'.floatval($balaceB));
             if ($balaceA == 0 && $balaceB == 0) {
                 $this->line("两个账号都没钱了,快充钱");
                 return false;