Commit 13150266 authored by 张振华's avatar 张振华

update

parent 76bc9a00
...@@ -242,7 +242,7 @@ func DposPerf() { ...@@ -242,7 +242,7 @@ func DposPerf() {
HashStop: block.Hash(), HashStop: block.Hash(),
NotifyTimestamp: now, NotifyTimestamp: now,
NotifyNodeAddress: vote.VoteItem.VotedNodeAddress, NotifyNodeAddress: vote.VoteItem.VotedNodeAddress,
NotifyNodeIndex: int32(vote.VoteItem.VotedNodeIndex), NotifyNodeIndex: vote.VoteItem.VotedNodeIndex,
}, },
} }
......
...@@ -53,11 +53,11 @@ func TestRaftPerf(t *testing.T) { ...@@ -53,11 +53,11 @@ func TestRaftPerf(t *testing.T) {
} }
func RaftPerf() { func RaftPerf() {
q, chain, s, mem, exec, cs, p2p := initEnvRaft() q, chain, s, mem, exec, cs, p2p := initEnvRaft()
defer q.Close()
defer chain.Close() defer chain.Close()
defer mem.Close() defer mem.Close()
defer exec.Close() defer exec.Close()
defer s.Close() defer s.Close()
defer q.Close()
defer cs.Close() defer cs.Close()
defer p2p.Close() defer p2p.Close()
sendReplyList(q) sendReplyList(q)
......
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