Commit c2f9b5b5 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/cross_chain' into 'master'

fix See merge request !139
parents 593f79f4 b05da064
...@@ -207,13 +207,15 @@ class CrossChainController extends Controller ...@@ -207,13 +207,15 @@ class CrossChainController extends Controller
} }
} }
if (isset($result['result']['receipt']) && is_array($result['result']['receipt']['logs'])){
foreach ($result['result']['receipt']['logs'] as $log) {
if (isset($log['tyName']) && 'logerr' == strtolower($log['tyName'])){
return $result; return $result;
}
} // if (isset($result['result']['receipt']) && is_array($result['result']['receipt']['logs'])){
} // foreach ($result['result']['receipt']['logs'] as $log) {
// if (isset($log['tyName']) && 'logerr' == strtolower($log['tyName'])){
// return $result;
// }
// }
// }
// static $result = []; // static $result = [];
// $service = new Chain33Service($node_params); // $service = new Chain33Service($node_params);
......
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