From dfaae8ddf31b8025626916c9792f5a667e7a6189 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Sat, 3 Dec 2011 17:50:25 -0500 Subject: [PATCH] removed unused argument 'full' to p2p.Protocol.send_shares --- p2pool/main.py | 2 +- p2pool/p2p.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/p2pool/main.py b/p2pool/main.py index 718cf96..302b9bc 100644 --- a/p2pool/main.py +++ b/p2pool/main.py @@ -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,) diff --git a/p2pool/p2p.py b/p2pool/p2p.py index fadfadc..5c3bf01 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -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 = [] -- 1.7.1