pub fn get_oldest_key_time_in_pool(
    set_key_pool: &HashSet<i64>,
    batch: &mut WalletBatch
) -> i64