Commit 2993cce3 authored by shajiaiming's avatar shajiaiming

私钥配置

parent a992a3d4
......@@ -81,7 +81,7 @@ class IssueChainTransferController extends Controller
}
$txHex = $result['result'];
$privkey = '8ac19c0b8858ccd6ed34e2bce0f11be2fc696e658d0b98fb1d3ef85ec5a3992c';
$privkey = Yii::$app->params['chain_nodes'][strtoupper($platform->platform)]['privkey'];
$expire = '1m';
//执行1.2签名
$signRawTx = $chain_service->signRawTx($privkey, $txHex, $expire);
......
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