Skip to content

Commit

Permalink
use current height as default height
Browse files Browse the repository at this point in the history
  • Loading branch information
KickSeason committed Aug 11, 2020
1 parent b593231 commit d3b3072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Consensus/ConsensusContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public void Reset(byte viewNumber)
if (previous_last_seen_message.TryGetValue(validator, out int value))
LastSeenMessage[validator] = value;
else
LastSeenMessage[validator] = -1;
LastSeenMessage[validator] = (int)Snapshot.Height;
}
}
keyPair = null;
Expand Down

0 comments on commit d3b3072

Please sign in to comment.