summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-01-16 21:07:19 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-01-16 21:07:19 +0100
commitc1042fca23c3a2a9775047a9c1efee5031ac4a1c (patch)
treeedad64ef56cbd202440dc91d650b8387b18c21b2 /src/bounty/struct
parent1f8d07d0ce1573c995f4d554ce0c78218398d1ab (diff)
...
Diffstat (limited to 'src/bounty/struct')
-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