Skip to content

Commit 024177d

Browse files
xxuejiedoitian
authored andcommitted
fix: remove redundant debug lines
1 parent b957d2b commit 024177d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

script/src/verify.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,13 @@ impl<'a> TransactionScriptsVerifier<'a> {
112112
for (i, input) in self.inputs.iter().enumerate() {
113113
self.verify_script(&input.unlock).map_err(|e| {
114114
info!(target: "script", "Error validating input {} of transaction {}: {:?}", i, self.hash, e);
115-
println!("Error validating input {} of transaction {}: {:?}", i, self.hash, e);
116115
e
117116
})?;
118117
}
119118
for (i, output) in self.outputs.iter().enumerate() {
120119
if let Some(ref contract) = output.contract {
121120
self.verify_script(contract).map_err(|e| {
122121
info!(target: "script", "Error validating output {} of transaction {}: {:?}", i, self.hash, e);
123-
println!("Error validating output {} of transaction {}: {:?}", i, self.hash, e);
124122
e
125123
})?;
126124
}

0 commit comments

Comments
 (0)