Skip to content

Commit

Permalink
Fix collection updates for regular nfts
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasPennie committed Sep 5, 2023
1 parent 1562a54 commit fdfc8ba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
)
.build(DbBackend::Postgres);
query.sql = format!(
"{} WHERE excluded.slot_updated > asset_grouping.slot_updated AND excluded.seq >= asset_grouping.seq",
query.sql
);
"{} WHERE excluded.slot_updated > asset_grouping.slot_updated",
query.sql
);
txn.execute(query)
.await
.map_err(|db_err| IngesterError::AssetIndexError(db_err.to_string()))?;
Expand Down

0 comments on commit fdfc8ba

Please sign in to comment.