Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
q
Browse files Browse the repository at this point in the history
  • Loading branch information
test-btc committed Dec 12, 2018
1 parent 2f2076f commit 40146aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let delegateForged = +delegate.delegate.forged;
iterat();

function iterat() {

setTimeout(() => {
try {
const newForged = +adamant.get('delegate_forged', delegate.publicKey).forged;
Expand All @@ -43,7 +43,7 @@ setTimeout(() => {
}, 5000);

setInterval(() => {
if (unixTime() - lastForg > 3600) rewardUsers(0);
if (unixTime() - lastForg > 600) rewardUsers(0);
}, 600 * 1000);

function unixTime() {
Expand Down

0 comments on commit 40146aa

Please sign in to comment.