Rollback time

This commit is contained in:
Sik Yoon 2023-08-15 15:16:11 +09:00
parent e01e7ce6f4
commit 4e5d12be8f

View File

@ -132,7 +132,7 @@ pub async fn buy_coin(
// 600_000 (600 secs = 10 mins) // 600_000 (600 secs = 10 mins)
{ {
filtered_suggested_coin_vec.push(element); filtered_suggested_coin_vec.push(element);
} else if server_epoch - element.registered_server_epoch > 600_000 { } else if server_epoch - element.registered_server_epoch >= 1_800_000 {
delete_condition.push_str("id = "); delete_condition.push_str("id = ");
delete_condition.push_str(element.id.to_string().as_str()); delete_condition.push_str(element.id.to_string().as_str());
delete_condition.push_str(" OR "); delete_condition.push_str(" OR ");