Commit eb87e28d authored by shajiaiming's avatar shajiaiming

fix

parents 7ed3713b 7612aede
...@@ -161,6 +161,7 @@ class OrderController extends Controller ...@@ -161,6 +161,7 @@ class OrderController extends Controller
//3步交易情况下需要做高度判断,2步交易注释IF判断 //3步交易情况下需要做高度判断,2步交易注释IF判断
if (CoinCTocTransfer::CONSENSUE_YES == $val['consensus'] && true == $switch && isset($height)) { if (CoinCTocTransfer::CONSENSUE_YES == $val['consensus'] && true == $switch && isset($height)) {
$last_hash = $result['result']['tx']['hash'];
$service = new Chain33Service($node); $service = new Chain33Service($node);
$execer = 'paracross'; $execer = 'paracross';
$func_name = 'GetTitle'; $func_name = 'GetTitle';
...@@ -178,7 +179,7 @@ class OrderController extends Controller ...@@ -178,7 +179,7 @@ class OrderController extends Controller
$func_name = 'GetAssetTxResult'; $func_name = 'GetAssetTxResult';
$playload = [ $playload = [
'data' => $val['send_result'] 'data' => $last_hash
]; ];
$result = $service->chainQuery($execer, $func_name, $playload); $result = $service->chainQuery($execer, $func_name, $playload);
if (!isset($result['result'])) { if (!isset($result['result'])) {
......
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