This commit is contained in:
nigel007 2019-07-23 10:56:26 +08:00
parent d975785d76
commit c8dc7b7c96
1 changed files with 3 additions and 2 deletions

View File

@ -333,11 +333,12 @@ class PullRequestsController < ApplicationController
end
pushTXInfo["shas"] = shas # 后续修改为shaList
pushTXInfoJson = pushTXInfo.to_json
pushTXInfoJson = pushTXInfo.to_json.to_s
# 发送交易
Rails.logger.info("before executing chain_trustie command...")
Rails.logger.info(pushTXInfoJson)
cmd = "chain_trustie pushPRTX " + pushTXInfoJson
cmd = "chain_trustie pushPRTX " +
# result = system # 执行失败了
output = StringIO.new
IO.popen(cmd) do |pipe|