From 635002f4b068b282159c695034f3a2dc82c9cb46 Mon Sep 17 00:00:00 2001 From: Matt <90358481+xbtmatt@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:37:46 -0800 Subject: [PATCH] Make event index appearance in struct unpack the same order as swap --- .../src/db/common/models/emojicoin_models/models/swap_event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/processor/src/db/common/models/emojicoin_models/models/swap_event.rs b/rust/processor/src/db/common/models/emojicoin_models/models/swap_event.rs index 42b698c9f..00114e262 100644 --- a/rust/processor/src/db/common/models/emojicoin_models/models/swap_event.rs +++ b/rust/processor/src/db/common/models/emojicoin_models/models/swap_event.rs @@ -86,7 +86,6 @@ impl SwapEventModel { } = state_event; let SwapEvent { - event_index, market_id, market_nonce, swapper, @@ -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;