git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8d790b2
)
fixed p2pool.data test case, broken by "remove support for old shares"
author
Forrest Voight
<forrest.voight@gmail.com>
Sat, 7 Apr 2012 05:00:54 +0000 (
01:00
-0400)
committer
Forrest Voight
<forrest.voight@gmail.com>
Sat, 7 Apr 2012 21:16:53 +0000 (17:16 -0400)
p2pool/test/test_data.py
patch
|
blob
|
history
diff --git
a/p2pool/test/test_data.py
b/p2pool/test/test_data.py
index
7a0d85b
..
c9f3527
100644
(file)
--- a/
p2pool/test/test_data.py
+++ b/
p2pool/test/test_data.py
@@
-38,4
+38,4
@@
class Test(unittest.TestCase):
t.add(test_forest.FakeShare(hash=i, previous_hash=i - 1 if i > 0 else None, new_script=i, share_data=dict(donation=1234), target=2**249))
for i in xrange(200):
a = random.randrange(200)
- d(a, random.randrange(a + 1), 1000000*65535, False)[1]
+ d(a, random.randrange(a + 1), 1000000*65535)[1]