Commit e8562201 authored by mdj33's avatar mdj33 Committed by vipwzw

fix linter

parent e283fbc5
......@@ -185,7 +185,7 @@ function para_create_nodegroup_test() {
echo "tx=$txhash"
query_tx "${PARA_CLI}" "${txhash}"
local id=$(${PARA_CLI} tx query -s "${txhash}" | jq -r ".receipt.logs[0].log.current.id")
id=$(${PARA_CLI} tx query -s "${txhash}" | jq -r ".receipt.logs[0].log.current.id")
if [ -z "$id" ]; then
${PARA_CLI} tx query -s "${txhash}"
echo "group id not getted"
......@@ -226,7 +226,7 @@ function para_create_nodegroup() {
echo "tx=$txhash"
query_tx "${PARA_CLI}" "${txhash}"
local id=$(${PARA_CLI} tx query -s "${txhash}" | jq -r ".receipt.logs[0].log.current.id")
id=$(${PARA_CLI} tx query -s "${txhash}" | jq -r ".receipt.logs[0].log.current.id")
if [ -z "$id" ]; then
${PARA_CLI} tx query -s "${txhash}"
echo "group id not getted"
......
......@@ -102,7 +102,7 @@ const (
ParaNodeVoteEnd
)
// ParaNodeVoteStr
// ParaNodeVoteStr ...
var ParaNodeVoteStr = []string{"invalid", "yes", "no"}
const (
......
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