Commit b05da064 authored by shajiaiming's avatar shajiaiming

fix

parent b7896582
...@@ -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'])){ return $result;
foreach ($result['result']['receipt']['logs'] as $log) {
if (isset($log['tyName']) && 'logerr' == strtolower($log['tyName'])){ // if (isset($result['result']['receipt']) && is_array($result['result']['receipt']['logs'])){
return $result; // 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