update pending block_num, according to rpc returning changing from -1 to 0