Skip to content

Commit a1ca962

Browse files
author
sanada08
committed
patched fork time
1 parent 80ce518 commit a1ca962

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/cryptonote_basic/hardfork.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ HardFork::State HardFork::get_state(time_t t) const
349349
return Ready;
350350

351351
time_t t_last_fork = heights.back().time;
352-
if (t >= t_last_fork + forked_time)
352+
time_t t_forked_time = 31557600;
353+
if (t >= t_last_fork + t_forked_time)
353354
return LikelyForked;
354355
if (t >= t_last_fork + update_time)
355356
return UpdateNeeded;

src/version.cpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define DEF_BELDEX_VERSION_MAJOR 3
22
#define DEF_BELDEX_VERSION_MINOR 1
3-
#define DEF_BELDEX_VERSION_PATCH 4
3+
#define DEF_BELDEX_VERSION_PATCH 5
44

55
#define BELDEX_STRINGIFY2(val) #val
66
#define BELDEX_STRINGIFY(val) BELDEX_STRINGIFY2(val)

0 commit comments

Comments
 (0)