Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Dec 11, 2023
1 parent 07439b1 commit 2e79308
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[service]
escalation_interval = "1m"
datadog_enabled = true
datadog_enabled = false
statsd_enabled = false

[server]
host = "127.0.0.1:3000"
Expand Down
3 changes: 3 additions & 0 deletions src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,9 @@ impl Database {
Ok(())
}

/// Marks txs as mined if the associated tx hash is present in a block
///
/// returns cumulative gas used for all txs
pub async fn mine_txs(&self, chain_id: u64) -> eyre::Result<()> {
let mut tx = self.pool.begin().await?;

Expand Down

0 comments on commit 2e79308

Please sign in to comment.