Skip to content

Commit

Permalink
remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiazcoaga committed May 10, 2024
1 parent 819a959 commit d80e001
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 d80e001

Please sign in to comment.