Skip to content

Commit 08e6246

Browse files
committed
GetAdjust
1 parent d1b8c21 commit 08e6246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/governance/vote.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bool CGovernanceVote::CheckSignature(const CBLSPublicKey& pubKey) const
155155
bool CGovernanceVote::IsValid(const CDeterministicMNList& tip_mn_list, bool useVotingKey) const
156156
{
157157
if (nTime > TicksSinceEpoch<std::chrono::seconds>(GetAdjustedTime() + (60 * 60))) {
158-
LogPrint(BCLog::GOBJECT, "CGovernanceVote::IsValid -- vote is too far ahead of current time - %s - nTime %lli - Max Time %lli\n", GetHash().ToString(), nTime, GetAdjustedTime() + 1h);
158+
LogPrint(BCLog::GOBJECT, "CGovernanceVote::IsValid -- vote is too far ahead of current time - %s - nTime %lli - Max Time %lli\n", GetHash().ToString(), nTime, TicksSinceEpoch<std::chrono::seconds>(GetAdjustedTime() + 1h));
159159
return false;
160160
}
161161

0 commit comments

Comments
 (0)