summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/bounty/struct/bnt_bounty.erl')
-rw-r--r--src/bounty/struct/bnt_bounty.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bounty/struct/bnt_bounty.erl b/src/bounty/struct/bnt_bounty.erl
index c6aa450..d91cdc2 100644
--- a/src/bounty/struct/bnt_bounty.erl
+++ b/src/bounty/struct/bnt_bounty.erl
@@ -82,7 +82,7 @@ generate (User, NotBefore, Deadline, Job) ->
-spec resolve () -> type().
resolve () ->
- Lock = ataxia_lock:locked(ataxia_security:admin(), ataxia_time:now()),
+ Lock = ataxia_lock:locked(ataxia_security:admin(), ataxia_time:in(60)),
{ok, Bounty, BountyID} =
ataxia_client:update_and_fetch_any