Skip to content

Commit

Permalink
Update world-chain-builder/src/pool/validator.rs
Browse files Browse the repository at this point in the history
Co-authored-by: 0xOsiris <[email protected]>
  • Loading branch information
0xKitsune and 0xOsiris authored Oct 17, 2024
1 parent a7edb92 commit 7dec882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion world-chain-builder/src/pool/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ where
}

pub fn set_validated(&self, pbh_payload: &PbhPayload) -> Result<(), DatabaseError> {
let db_tx: reth_db::mdbx::tx::Tx<reth_db::mdbx::RW> = self.pbh_db.tx_mut()?;
let db_tx = self.pbh_db.tx_mut()?;
let mut cursor = db_tx.cursor_write::<ValidatedPbhTransactionTable>()?;
cursor.insert(pbh_payload.nullifier_hash.to_be_bytes().into(), EmptyValue)?;
db_tx.commit()?;
Expand Down

0 comments on commit 7dec882

Please sign in to comment.