Skip to content

Commit

Permalink
Update crates/bin/pindexer/src/dex_ex/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Josef <[email protected]>
Signed-off-by: Lúcás Meier <[email protected]>
  • Loading branch information
cronokirby and vacekj authored Nov 25, 2024
1 parent 968dd3e commit d7e4ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bin/pindexer/src/dex_ex/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ impl Events {
}

fn with_candle(&mut self, pair: DirectedTradingPair, candle: Candle) {
// Popular both this pair and the flipped pair, and if the flipped pair
// Populate both this pair and the flipped pair, and if the flipped pair
// is already populated, we need to mix the two candles together.
let flip = pair.flip();
let new_candle = match self.candles.get(&flip).cloned() {
Expand Down

0 comments on commit d7e4ece

Please sign in to comment.