removed unused argument 'full' to p2p.Protocol.send_shares
authorForrest Voight <forrest@forre.st>
Sat, 3 Dec 2011 22:50:25 +0000 (17:50 -0500)
committerForrest Voight <forrest@forre.st>
Sat, 3 Dec 2011 22:50:25 +0000 (17:50 -0500)
p2pool/main.py
p2pool/p2p.py

index 718cf96..302b9bc 100644 (file)
@@ -318,7 +318,7 @@ def main(args):
                         break
                     shares.append(share)
             print 'Sending %i shares to %s:%i' % (len(shares), peer.addr[0], peer.addr[1])
-            peer.send_shares(shares, full=True)
+            peer.send_shares(shares)
         
         print 'Joining p2pool network using TCP port %i...' % (args.p2pool_port,)
         
index fadfadc..5c3bf01 100644 (file)
@@ -227,7 +227,7 @@ class Protocol(bitcoin_p2p.BaseProtocol):
             shares.append(share)
         self.node.handle_shares(shares, self)
     
-    def send_shares(self, shares, full=False):
+    def send_shares(self, shares):
         share1bs = []
         share0s = []
         share1as = []