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

Merge branch 'dpos-v2' of https://github.com/zzh33cn/plugin into dpos-v2

parents 13150266 8341b4b6
......@@ -228,16 +228,16 @@ func DposPerf() {
block := dposClient.GetCurrentBlock()
notify := &ttypes.Notify{
DPosNotify: &ttypes.DPosNotify{
Vote: &ttypes.VoteItem{
VotedNodeIndex: vote.VoteItem.VotedNodeIndex,
Cycle: vote.VoteItem.Cycle,
CycleStart: vote.VoteItem.CycleStart,
CycleStop: vote.VoteItem.CycleStop,
PeriodStart: vote.VoteItem.PeriodStart,
PeriodStop: vote.VoteItem.PeriodStop,
Height: vote.VoteItem.Height,
ShuffleType: vote.VoteItem.ShuffleType,
},
Vote: &ttypes.VoteItem{
VotedNodeIndex: vote.VoteItem.VotedNodeIndex,
Cycle: vote.VoteItem.Cycle,
CycleStart: vote.VoteItem.CycleStart,
CycleStop: vote.VoteItem.CycleStop,
PeriodStart: vote.VoteItem.PeriodStart,
PeriodStop: vote.VoteItem.PeriodStop,
Height: vote.VoteItem.Height,
ShuffleType: vote.VoteItem.ShuffleType,
},
HeightStop: block.Height,
HashStop: block.Hash(),
NotifyTimestamp: now,
......
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