Commit 5b34a61c authored by vipwzw's avatar vipwzw

auto ci

parent f27b8488
......@@ -179,22 +179,22 @@ func DposPerf() {
var cands []*dty.Candidator
cand := &dty.Candidator{
Pubkey: pubkey,
Pubkey: pubkey,
Address: hex.EncodeToString(dposClient.csState.privValidator.GetAddress()),
IP: "127.0.0.1",
Votes: 100,
Status: 0,
IP: "127.0.0.1",
Votes: 100,
Status: 0,
}
cands = append(cands, cand)
topNCand := &dty.TopNCandidator{
Cands: cands,
Hash: []byte("abafasfda"),
Height: dposClient.GetCurrentHeight(),
Cands: cands,
Hash: []byte("abafasfda"),
Height: dposClient.GetCurrentHeight(),
SignerPubkey: pubkey,
}
reg := &dty.TopNCandidatorRegist{
Cand: topNCand,
}
}
if dposClient.csState.SendTopNRegistTx(reg) {
fmt.Println("SendTopNRegistTx ok")
......
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