Small fixes

This commit is contained in:
Andor 2013-12-08 23:35:16 +04:00
parent 6ebd2cc0cc
commit 8c4acdda19
2 changed files with 8 additions and 7 deletions

View File

@ -80,6 +80,7 @@ def _doFastPoW(target, initialHash, cancellable):
def run(target, initialHash, cancellable): def run(target, initialHash, cancellable):
import time import time
#Only message PoW calculations are cancellable, Key requests are not. #Only message PoW calculations are cancellable, Key requests are not.
if cancellable: if cancellable:
#If the PoW is cancellable we need to communicate its beginning to the UI #If the PoW is cancellable we need to communicate its beginning to the UI