Commit c9fdf3b4 authored by vipwzw's avatar vipwzw

auto ci

parent c98da5ff
...@@ -12,12 +12,13 @@ import ( ...@@ -12,12 +12,13 @@ import (
"errors" "errors"
"flag" "flag"
"fmt" "fmt"
"github.com/33cn/chain33/util"
"math/rand" "math/rand"
"os" "os"
"testing" "testing"
"time" "time"
"github.com/33cn/chain33/util"
"github.com/33cn/chain33/blockchain" "github.com/33cn/chain33/blockchain"
"github.com/33cn/chain33/common/address" "github.com/33cn/chain33/common/address"
"github.com/33cn/chain33/common/crypto" "github.com/33cn/chain33/common/crypto"
...@@ -410,7 +411,6 @@ func sendCBTx(cs *ConsensusState, info *dty.DposCBInfo) bool { ...@@ -410,7 +411,6 @@ func sendCBTx(cs *ConsensusState, info *dty.DposCBInfo) bool {
return true return true
} }
func sendRegistVrfMTx(cs *ConsensusState, info *dty.DposVrfMRegist) bool { func sendRegistVrfMTx(cs *ConsensusState, info *dty.DposVrfMRegist) bool {
tx, err := cs.client.CreateRegVrfMTx(info) tx, err := cs.client.CreateRegVrfMTx(info)
if err != nil { if err != nil {
...@@ -500,7 +500,7 @@ func sendTopNRegistTx(cs *ConsensusState, reg *dty.TopNCandidatorRegist) bool { ...@@ -500,7 +500,7 @@ func sendTopNRegistTx(cs *ConsensusState, reg *dty.TopNCandidatorRegist) bool {
return true return true
} }
func sendTransferTx(fromKey ,to string, amount int64) bool { func sendTransferTx(fromKey, to string, amount int64) bool {
signer := util.HexToPrivkey(fromKey) signer := util.HexToPrivkey(fromKey)
var tx *types.Transaction var tx *types.Transaction
transfer := &cty.CoinsAction{} transfer := &cty.CoinsAction{}
...@@ -534,7 +534,7 @@ func sendTransferTx(fromKey ,to string, amount int64) bool { ...@@ -534,7 +534,7 @@ func sendTransferTx(fromKey ,to string, amount int64) bool {
return true return true
} }
func sendTransferToExecTx(fromKey ,execName string, amount int64) bool { func sendTransferToExecTx(fromKey, execName string, amount int64) bool {
signer := util.HexToPrivkey(fromKey) signer := util.HexToPrivkey(fromKey)
var tx *types.Transaction var tx *types.Transaction
transfer := &cty.CoinsAction{} transfer := &cty.CoinsAction{}
...@@ -571,7 +571,6 @@ func sendTransferToExecTx(fromKey ,execName string, amount int64) bool { ...@@ -571,7 +571,6 @@ func sendTransferToExecTx(fromKey ,execName string, amount int64) bool {
return true return true
} }
func sendRegistCandidatorTx(ppubkey, addr, ip, privKey string) bool { func sendRegistCandidatorTx(ppubkey, addr, ip, privKey string) bool {
signer := util.HexToPrivkey(privKey) signer := util.HexToPrivkey(privKey)
var tx *types.Transaction var tx *types.Transaction
......
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