Skip to content

Commit

Permalink
use transaction id
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Feb 21, 2025
1 parent 3f8c815 commit 68b8673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/torii/sqlite/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ impl Sql {
?, ?, ?)"
.to_string(),
vec![
id,
id.clone(),
transaction_hash.clone(),
sender_address,
calldata,
Expand All @@ -578,7 +578,7 @@ impl Sql {
"INSERT OR IGNORE INTO transaction_contract (transaction_hash, contract_address) \
VALUES (?, ?)"
.to_string(),
vec![transaction_hash.clone(), Argument::FieldElement(*contract_address)],
vec![id.clone(), Argument::FieldElement(*contract_address)],
))?;
}

Expand Down

0 comments on commit 68b8673

Please sign in to comment.