Skip to content

Commit

Permalink
updated insert_into_tx_hashes to do nothing on conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKitsune committed Dec 13, 2023
1 parent 280abf4 commit 7d9ebd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ impl Database {
r#"
INSERT INTO tx_hashes (tx_id, tx_hash, max_fee_per_gas, max_priority_fee_per_gas)
VALUES ($1, $2, $3, $4)
ON CONFLICT (tx_hash) DO NOTHING
"#,
)
.bind(tx_id)
Expand Down

0 comments on commit 7d9ebd2

Please sign in to comment.