Skip to content

Commit

Permalink
dex(events): track swap commitment in SwapEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor committed Dec 13, 2023
1 parent 6912487 commit 3553dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/component/dex/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn swap(swap: &Swap) -> pb::EventSwap {
trading_pair: Some(swap.body.trading_pair.into()),
delta_1_i: Some(swap.body.delta_1_i.into()),
delta_2_i: Some(swap.body.delta_2_i.into()),
commitment: Some(swap.body.fee_commitment.into()),
swap_commitment: Some(swap.body.payload.commitment.into()),
}
}

Expand Down

0 comments on commit 3553dac

Please sign in to comment.