def assert_waitforheight(height, timeout=2):
    assert_equal(node.waitforblockheight(height, timeout)['height'], current_height)
def assert_waitforheight(height, timeout=2):
    assert_equal(node.waitforblockheight(height, timeout)['height'], current_height)