fix timing bug

master
lza_menace 4 years ago
parent 136cafbe53
commit 4cf0cf87b2

@ -72,7 +72,7 @@ def process_payouts():
latest_payout = str(latest_payout.id) latest_payout = str(latest_payout.id)
diff = arrow.utcnow() - last diff = arrow.utcnow() - last
minutes = diff.seconds / 60 minutes = diff.total_seconds() / 60
hours = minutes / 60 hours = minutes / 60
xmr_to_send = hours * prices['in_xmr'] xmr_to_send = hours * prices['in_xmr']
axmr_to_send = monero.to_atomic(xmr_to_send) axmr_to_send = monero.to_atomic(xmr_to_send)

Loading…
Cancel
Save