Skip to content

Commit

Permalink
Merge pull request #219 from CoinFabrik/comment-removal
Browse files Browse the repository at this point in the history
remove unused lines
  • Loading branch information
arturoBeccar authored May 15, 2024
2 parents 0eace8e + 1c399cc commit 689f227
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion detectors/dos-unexpected-revert-with-vector/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ impl<'tcx> LateLintPass<'tcx> for UnexpectedRevertWarn {
let defid = self.cx.typeck_results().type_dependent_def_id(expr.hir_id);
let ty = Ty::new_foreign(self.cx.tcx, defid.unwrap());
if path.ident.name.to_string() == "require_auth" {
//println!("este es un require auth");
self.require_auth = true;
}
if ty.to_string().contains("soroban_sdk::Vec")
Expand Down
4 changes: 0 additions & 4 deletions test-cases/unrestricted-transfer-from/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ strip = "symbols"
debug-assertions = true
inherits = "release"

[workspace.metadata.dylint]
libraries = [
{ path="/home/sofia/Documentos/cf/pr/scout-soroban/detectors/unrestricted-transfer-from" },
]

0 comments on commit 689f227

Please sign in to comment.