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