forked from Qortal-Forker/qortal
QDN go-live timestamp set to Fri, 14 Jan 2022 16:00:00 UTC
This commit is contained in:
@@ -382,7 +382,10 @@ public abstract class Transaction {
|
|||||||
* @return transaction version number
|
* @return transaction version number
|
||||||
*/
|
*/
|
||||||
public static int getVersionByTimestamp(long timestamp) {
|
public static int getVersionByTimestamp(long timestamp) {
|
||||||
return 4; // TODO: hard fork timestamp!!
|
if (timestamp >= 1642176000000L) {
|
||||||
|
return 5;
|
||||||
|
}
|
||||||
|
return 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user