Skip to content

Commit

Permalink
fix: store contract file name in flattener
Browse files Browse the repository at this point in the history
  • Loading branch information
skellet0r committed Oct 11, 2021
1 parent 5ba8988 commit 26096f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brownie/project/flattener.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def __init__(
self.dependencies = defaultdict(set)
self.compiler_settings = compiler_settings
self.contract_name = contract_name
self.contract_file = Path(primary_source_fp).name
self.remappings = remappings

self.traverse(primary_source_fp)
Expand Down

0 comments on commit 26096f3

Please sign in to comment.