Skip to content

Commit

Permalink
patched fork time
Browse files Browse the repository at this point in the history
  • Loading branch information
sanada08 committed Jul 4, 2020
1 parent 80ce518 commit a1ca962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cryptonote_basic/hardfork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ HardFork::State HardFork::get_state(time_t t) const
return Ready;

time_t t_last_fork = heights.back().time;
if (t >= t_last_fork + forked_time)
time_t t_forked_time = 31557600;
if (t >= t_last_fork + t_forked_time)
return LikelyForked;
if (t >= t_last_fork + update_time)
return UpdateNeeded;
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define DEF_BELDEX_VERSION_MAJOR 3
#define DEF_BELDEX_VERSION_MINOR 1
#define DEF_BELDEX_VERSION_PATCH 4
#define DEF_BELDEX_VERSION_PATCH 5

#define BELDEX_STRINGIFY2(val) #val
#define BELDEX_STRINGIFY(val) BELDEX_STRINGIFY2(val)
Expand Down

0 comments on commit a1ca962

Please sign in to comment.