Commit eb6d53b3 authored by shajiaiming's avatar shajiaiming

fix

parent cae4f3ff
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
namespace wallet\controllers; namespace wallet\controllers;
use common\models\psources\CoinIssueChainRecord;
use Yii; use Yii;
use yii\data\Pagination; use yii\data\Pagination;
use wallet\base\BaseController; use wallet\base\BaseController;
...@@ -148,6 +149,12 @@ class IssueCoinController extends BaseController ...@@ -148,6 +149,12 @@ class IssueCoinController extends BaseController
goto doEnd; goto doEnd;
} }
$record = CoinIssueChainRecord::find()->where(['issue_coin_id' => $id])->one();
$record->finish_tx = 'failed';
$record->finish_send_transaction = 'failed';
$record->finish_query_transaction = $msg;
$record->save();
$code = 0; $code = 0;
$msg = 'success'; $msg = 'success';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment