Skip to content

Commit

Permalink
fix: remove redundant debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie authored and doitian committed Nov 19, 2018
1 parent b957d2b commit 024177d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions script/src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,13 @@ impl<'a> TransactionScriptsVerifier<'a> {
for (i, input) in self.inputs.iter().enumerate() {
self.verify_script(&input.unlock).map_err(|e| {
info!(target: "script", "Error validating input {} of transaction {}: {:?}", i, self.hash, e);
println!("Error validating input {} of transaction {}: {:?}", i, self.hash, e);
e
})?;
}
for (i, output) in self.outputs.iter().enumerate() {
if let Some(ref contract) = output.contract {
self.verify_script(contract).map_err(|e| {
info!(target: "script", "Error validating output {} of transaction {}: {:?}", i, self.hash, e);
println!("Error validating output {} of transaction {}: {:?}", i, self.hash, e);
e
})?;
}
Expand Down

0 comments on commit 024177d

Please sign in to comment.