Skip to content

Commit

Permalink
Make event index appearance in struct unpack the same order as swap
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt committed Dec 20, 2024
1 parent 8370b9b commit 635002f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ impl SwapEventModel {
} = state_event;

let SwapEvent {
event_index,
market_id,
market_nonce,
swapper,
Expand All @@ -105,6 +104,7 @@ impl SwapEventModel {
time,
balance_as_fraction_of_circulating_supply_before_q64,
balance_as_fraction_of_circulating_supply_after_q64,
event_index,
..
} = swap_event;

Expand Down

0 comments on commit 635002f

Please sign in to comment.