git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c6d8a03
)
fix ip transaction ... has been broken for a while
author
Forrest Voight
<forrest@forre.st>
Sun, 31 Jul 2011 03:36:37 +0000 (
03:36
+0000)
committer
Forrest Voight
<forrest@forre.st>
Sun, 31 Jul 2011 03:41:47 +0000 (
03:41
+0000)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
b1ae80a
..
36df690
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-40,9
+40,9
@@
def getwork(bitcoind):
def get_payout_script(factory):
res = yield (yield factory.getProtocol()).check_order(order=bitcoin.p2p.Protocol.null_order)
if res['reply'] == 'success':
- my_script = res['script']
+ defer.returnValue(res['script'])
elif res['reply'] == 'denied':
- my_script = None
+ defer.returnValue(None)
else:
raise ValueError('Unexpected reply: %r' % (res,))