Skip to content

Commit dbea4ad

Browse files
committed
fix test
1 parent f623137 commit dbea4ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/rpc/rpc-server/src/utils/events.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ fn fetch_tx_events(
325325
data: e.data.clone(),
326326
transaction_hash: tx_hash,
327327
from_address: e.from_address,
328-
transaction_index: tx_idx as u64,
329-
event_index: event_idx as u64,
328+
transaction_index: Some(tx_idx as u64),
329+
event_index: Some(event_idx as u64),
330330
},
331331
)
332332
})

0 commit comments

Comments
 (0)