Skip to content

Commit

Permalink
node: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Sep 4, 2024
1 parent 357db74 commit 0a1ce4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ impl MempoolSrv {
db.read().await.update(|db| {
let spend_ids = tx.to_spend_ids();

// ensure nullifiers do not exist in the mempool
// ensure spend_ids do not exist in the mempool
for m_tx_id in db.get_txs_by_spendable_ids(&spend_ids) {
if let Some(m_tx) = db.get_tx(m_tx_id)? {
if m_tx.inner.gas_price() < tx.inner.gas_price() {
Expand Down

0 comments on commit 0a1ce4d

Please sign in to comment.