git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7490294
)
fixed RPC check function not actually doing anything due to mismatched parenthesis
author
Forrest Voight
<forrest@forre.st>
Tue, 3 Jul 2012 21:58:53 +0000 (17:58 -0400)
committer
Forrest Voight
<forrest@forre.st>
Tue, 3 Jul 2012 21:58:53 +0000 (17:58 -0400)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
f0d7fe7
..
828051b
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-63,7
+63,7
@@
def main(args, net, datadir_path, merged_urls, worker_endpoint):
@deferral.retry('Error while checking Bitcoin connection:', 1)
@defer.inlineCallbacks
def check():
- if not (yield net.PARENT.RPC_CHECK)(bitcoind):
+ if not (yield net.PARENT.RPC_CHECK(bitcoind)):
print >>sys.stderr, " Check failed! Make sure that you're connected to the right bitcoind with --bitcoind-rpc-port!"
raise deferral.RetrySilentlyException()
temp_work = yield getwork(bitcoind)