Skip to content

Commit 368dd2d

Browse files
Copilottheshadow76
andauthored
chore: address code review feedback for pending trades module
Agent-Logs-Url: https://github.com/ChipaDevTeam/BinaryOptionsTools-v2/sessions/1202ba44-b23b-4cc4-aa3e-1fcd444549c2 Co-authored-by: theshadow76 <59869868+theshadow76@users.noreply.github.com>
1 parent 23c8a44 commit 368dd2d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

crates/binary_options_tools/src/pocketoption/modules/pending_trades.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
use std::{collections::HashMap, collections::VecDeque, fmt::Debug, sync::Arc, time::Duration};
1+
use std::{
2+
collections::{HashMap, VecDeque},
3+
fmt::Debug,
4+
sync::Arc,
5+
time::Duration,
6+
};
27

38
use async_trait::async_trait;
49
use binary_options_tools_core::{
@@ -355,7 +360,7 @@ impl ApiModule<State> for PendingTradesApiModule {
355360
pending_order,
356361
}).await?;
357362
} else {
358-
warn!(target: "PendingTradesApiModule", "Received successopenPendingOrder but no open req_id was pending. Dropping response to avoid ambiguity.");
363+
warn!(target: "PendingTradesApiModule", "Received success openPendingOrder but no open req_id was pending. Dropping response to avoid ambiguity.");
359364
}
360365
}
361366
ServerResponse::Fail(fail) => {

0 commit comments

Comments
 (0)