Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed expire= for X-Roll-Ntime

Signed-off-by: jedi95 <jedi95@gmail.com>
  • Loading branch information...
commit ec8af03cfdf7b0dbf46e2d8561adba66c60ca437 1 parent c1bf824
@jedi95 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  minerutil/RPCProtocol.py
View
2  minerutil/RPCProtocol.py
@@ -396,7 +396,7 @@ def handleWork(self, work, headers, pushed=False):
if rollntime:
if rollntime.lower().startswith('expire='):
try:
- maxtime = int(rollntime[8:])
+ maxtime = int(rollntime[7:])
except:
#if the server supports rollntime but doesn't format the
#request properly, then use a sensible default
Please sign in to comment.
Something went wrong with that request. Please try again.