|
@@ -160,8 +160,13 @@ class Trace extends Command
|
|
|
$this->line("两个账号都没钱了,快充钱");
|
|
|
return false;
|
|
|
}
|
|
|
+ $this->line("准备打开钱包");
|
|
|
$walapi->open($walletName);
|
|
|
+ $this->line("钱包已打开");
|
|
|
+ $this->line("准备解锁钱包");
|
|
|
$walapi->unlock([$walletName,$walletPassword]);
|
|
|
+ $this->line("钱包已解锁");
|
|
|
+ $this->line("准备发起交易");
|
|
|
if ($balaceA >= $coin * 2) {
|
|
|
$trans = $eos->transfer($accountA, $accountB, $coin . " " . $coinCode, $md5, 'eosio.token', false);
|
|
|
}elseif ($balaceB >= $coin * 2) {
|