mirror of
https://github.com/zkopru-network/zkopru.git
synced 2026-04-24 03:00:03 -04:00
chore: lint
This commit is contained in:
committed by
Wanseob Lim
parent
e611a6c3e7
commit
484e572b57
@@ -185,7 +185,12 @@ export class TxMemPool implements TxPoolInterface {
|
||||
for (const txHash of Object.keys(this.txs)) {
|
||||
const tx = this.txs[txHash]
|
||||
for (const { root } of tx.inflow) {
|
||||
if (!(await offchainTxValidator.isValidRef(latestBlockHash, new Uint256(root.toString())))) {
|
||||
if (
|
||||
!(await offchainTxValidator.isValidRef(
|
||||
latestBlockHash,
|
||||
new Uint256(root.toString()),
|
||||
))
|
||||
) {
|
||||
hashesToRemove.push(txHash)
|
||||
break
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ import { OffchainNullifierTreeValidator } from './offchain-nullifier-tree-valida
|
||||
import { OffchainTxValidator } from './offchain-tx-validator'
|
||||
import { OffchainUtxoTreeValidator } from './offchain-utxo-tree-validator'
|
||||
import { OffchainWithdrawalTreeValidator } from './offchain-withdrawal-tree-validator'
|
||||
|
||||
export { OffchainDepositValidator } from './offchain-deposit-validator'
|
||||
export { OffchainHeaderValidator } from './offchain-header-validator'
|
||||
export { OffchainMigrationValidator } from './offchain-migration-validator'
|
||||
|
||||
Reference in New Issue
Block a user