Skip to content

Commit

Permalink
Update to the latest inindexer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sliman4 committed Apr 29, 2024
1 parent eaa21c0 commit 1d41c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use inindexer::near_indexer_primitives::types::AccountId;
use inindexer::near_indexer_primitives::CryptoHash;
use inindexer::near_indexer_primitives::StreamerMessage;
use inindexer::{
run_indexer, AutoContinue, BlockIterator, CompletedTransaction, Indexer, IndexerOptions,
run_indexer, AutoContinue, BlockIterator, CompleteTransaction, Indexer, IndexerOptions,
PreprocessTransactionsSettings,
};
use redis::aio::MultiplexedConnection;
Expand All @@ -35,7 +35,7 @@ impl<T: NftEventHandler + Send + Sync + 'static> Indexer for NftIndexer<T> {

async fn on_transaction(
&mut self,
transaction: &CompletedTransaction,
transaction: &CompleteTransaction,
_block: &StreamerMessage,
) -> Result<(), Self::Error> {
for receipt in transaction.receipts.iter() {
Expand Down

0 comments on commit 1d41c64

Please sign in to comment.