fixed p2pool.data test case, broken by "remove support for old shares"
authorForrest Voight <forrest.voight@gmail.com>
Sat, 7 Apr 2012 05:00:54 +0000 (01:00 -0400)
committerForrest Voight <forrest.voight@gmail.com>
Sat, 7 Apr 2012 21:16:53 +0000 (17:16 -0400)
p2pool/test/test_data.py

index 7a0d85b..c9f3527 100644 (file)
@@ -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]