Skip to content

Commit

Permalink
fix: Fix typos causing contract colour coding to not work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
damilolaedwards committed Sep 30, 2024
1 parent 6f14ca7 commit 30bcfed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/slither/slither.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ func filterSlitherOutput(slitherContracts []types.SlitherContract, includeInterf
Functions: slitherContract.Functions,
InheritedContracts: filterSlitherOutput(slitherContract.InheritedContracts, includeInterfaces, includeAbstract, includeLibraries),
IsAbstract: slitherContract.IsAbstract,
IsInterface: slitherContract.IsAbstract,
IsLibrary: slitherContract.IsAbstract,
IsInterface: slitherContract.IsInterface,
IsLibrary: slitherContract.IsLibrary,
})
}

Expand Down
2 changes: 1 addition & 1 deletion types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Contract struct {
ID int `json:"id"`
Name string `json:"name"`
IsAbstract bool `json:"is_abstract"`
IsInterface bool `json:"in_interface"`
IsInterface bool `json:"is_interface"`
IsLibrary bool `json:"is_library"`
Functions []Function `json:"functions"`
InheritedContracts []Contract `json:"inherited_contracts"`
Expand Down

0 comments on commit 30bcfed

Please sign in to comment.