Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bthaile committed Sep 18, 2023
1 parent 0f1a72e commit aecdb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flowkit/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (p *State) AliasesForNetwork(network config.Network) project.LocationAliase
if contract.IsAliased() && contract.Aliases.ByNetwork(network.Name) != nil {
alias := contract.Aliases.ByNetwork(network.Name).Address.String()
aliases[filepath.Clean(contract.Location)] = alias // alias for import by file location
aliases[contract.Name] = alias // alias for import by name
aliases[contract.Name] = alias // alias for import by name
}
}

Expand Down
2 changes: 1 addition & 1 deletion internal/transactions/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (r *transactionResult) String() string {
Events: r.result.Events,
}

if r.result != nil && e.Events != nil && !command.ContainsFlag(r.include, "fee-events") {
if r.result != nil && e.Events != nil && !command.ContainsFlag(r.include, "fee-events") {
for _, event := range e.Events {
if strings.Contains(event.Type, feeDeductedEvent) {
// if fee event are present remove them
Expand Down

0 comments on commit aecdb6c

Please sign in to comment.