Fix broken sendcmpct test in p2p-compactblocks.py
commit157254a4bfdfc4ca3ad5bf2d84e82f290bd0c7f2
authorSuhas Daftuar <sdaftuar@chaincode.com>
Thu, 15 Sep 2016 01:00:53 +0000 (14 21:00 -0400)
committerSuhas Daftuar <sdaftuar@gmail.com>
Thu, 15 Sep 2016 16:32:53 +0000 (15 12:32 -0400)
treec5741f4d8ae94c6fec70637fdcacccdd70a70168
parenta82e5d8220bbc8b5d786bed99b0876f530b9b7cc
Fix broken sendcmpct test in p2p-compactblocks.py

Python lambda use was incorrect.

sendcmpct messages need to be synchronized with RPC calls to generate().

Headers need to be synced (eg with getheaders) for cmpctblock announcements
to start.

Last test omitted sending a sendcmpct message.
qa/rpc-tests/p2p-compactblocks.py