def test_tip_after_message(node, peer, msg, tip):
    peer.send_and_ping(msg)
    assert_equal(int(node.getbestblockhash(), 16), tip)
def test_tip_after_message(node, peer, msg, tip):
    peer.send_and_ping(msg)
    assert_equal(int(node.getbestblockhash(), 16), tip)