Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/iota/iri/service/API.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class API {
private final static int HASH_SIZE = 81;
private final static int TRYTES_SIZE = 2673;

private final static long MAX_TIMESTAMP_VALUE = (3^27 - 1) / 2;
private final static long MAX_TIMESTAMP_VALUE = (long) (Math.pow(3, 27) - 1) / 2; // max positive 27-trits value

private final int minRandomWalks;
private final int maxRandomWalks;
Expand Down