Skip to content

Commit

Permalink
Fix for linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanIliev545 committed Dec 10, 2024
1 parent 2ea5fd8 commit 6e9f96c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/enclave/enclave_rpc_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,8 @@ func (e *enclaveRPCService) EnclavePublicConfig(context.Context) (*common.Enclav
publicCallbacksAddress = &gethcommon.Address{}

Check failure on line 138 in go/enclave/enclave_rpc_service.go

View workflow job for this annotation

GitHub Actions / lint

ineffectual assignment to publicCallbacksAddress (ineffassign)
}

publicContracts := e.scb.PublicSystemContracts()
publicContractsMap := make(map[string]gethcommon.Address)
for name, address := range publicContracts {
for name, address := range e.scb.PublicSystemContracts() {
publicContractsMap[name] = *address
}

Expand Down

0 comments on commit 6e9f96c

Please sign in to comment.