fixed error in assertion text
authorForrest Voight <forrest@forre.st>
Sun, 21 Jul 2013 22:32:34 +0000 (18:32 -0400)
committerForrest Voight <forrest@forre.st>
Sun, 21 Jul 2013 22:32:34 +0000 (18:32 -0400)
p2pool/p2p.py

index f86ec69..f3798ce 100644 (file)
@@ -285,7 +285,7 @@ class Protocol(p2protocol.Protocol):
             if share.VERSION >= 13:
                 # send full transaction for every new_transaction_hash that peer does not know
                 for tx_hash in share.share_info['new_transaction_hashes']:
-                    assert tx_hash in known_txs, 'tried to broadcast transaction without knowing all its new transactions'
+                    assert tx_hash in known_txs, 'tried to broadcast share without knowing all its new transactions'
                     if tx_hash not in self.remote_tx_hashes:
                         tx_hashes.add(tx_hash)
                 continue