[qa] Change sync_blocks to pick smarter maxheight
commit1126c853d9a1a3d2a6a5d85f045e338d78df2296
authorRussell Yanofsky <russ@yanofsky.org>
Fri, 11 Nov 2016 20:46:14 +0000 (11 15:46 -0500)
committerRussell Yanofsky <russ@yanofsky.org>
Fri, 11 Nov 2016 20:46:14 +0000 (11 15:46 -0500)
tree0e58544a07b64e3b56e70256c9a3cb3ad769ae27
parent67c6326abd1788e6f411feb4f44b69774e76aae2
[qa] Change sync_blocks to pick smarter maxheight

Instead of syncing to max height returned by the waitforblockheight RPC, sync
to the max height returned by the getblockcount RPC.

This change was suggested by Suhas Daftuar <sdaftuar@chaincode.com>.
qa/rpc-tests/test_framework/util.py