Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii committed Aug 9, 2024
1 parent 9c190cd commit d031790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache-storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ impl TxIndexerCache {
indexer_execution_outcome_with_receipt: near_indexer_primitives::IndexerExecutionOutcomeWithReceipt,
) -> anyhow::Result<()> {
// We should not store outcomes for not indexed transactions
if let Ok(_) = self.get_tx(transaction_key).await {
if self.get_tx(transaction_key).await.is_ok() {
let execution_outcome_with_receipt = readnode_primitives::ExecutionOutcomeWithReceipt {
execution_outcome: indexer_execution_outcome_with_receipt
.execution_outcome
Expand Down

0 comments on commit d031790

Please sign in to comment.