diff --git a/verification/src/transaction_verifier.rs b/verification/src/transaction_verifier.rs index 11214f583f4..589898e3ec0 100644 --- a/verification/src/transaction_verifier.rs +++ b/verification/src/transaction_verifier.rs @@ -546,7 +546,7 @@ impl CapacityVerifier { // withdraw transactions. // cellbase's outputs are verified by RewardVerifier // DAO withdraw transaction is verified via the type script of DAO cells - if !(self.resolved_transaction.is_cellbase() || self.valid_dao_withdraw_transaction()) { + if !self.resolved_transaction.is_cellbase() && !self.valid_dao_withdraw_transaction() { let inputs_sum = self.resolved_transaction.inputs_capacity()?; let outputs_sum = self.resolved_transaction.outputs_capacity()?;