Remove unwrap()
This commit is contained in:
parent
3549fbf289
commit
b9621ccc72
|
|
@ -160,8 +160,7 @@ pub async fn limit_order_entry(
|
||||||
|
|
||||||
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
|
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
|
||||||
update_record3(&update_table_name, &update_values, &update_condition)
|
update_record3(&update_table_name, &update_values, &update_condition)
|
||||||
.await
|
.await?;
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
sub_future_available_usdt(used_usdt).await;
|
sub_future_available_usdt(used_usdt).await;
|
||||||
|
|
||||||
|
|
@ -274,8 +273,7 @@ pub async fn limit_order_entry(
|
||||||
|
|
||||||
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
|
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
|
||||||
update_record3(&update_table_name, &update_values, &update_condition)
|
update_record3(&update_table_name, &update_values, &update_condition)
|
||||||
.await
|
.await?;
|
||||||
.unwrap();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user