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

fix linter

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