Skip to content

Commit 0a23e57

Browse files
authored
Merge pull request #95 from onflow/bastian/fix-imports
2 parents 99e0db1 + e1194e0 commit 0a23e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/v1_1/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func getAddressImports(code []byte, name string) []string {
275275
address, isAddressImport := imp.Location.(cadenceCommon.AddressLocation)
276276
if isAddressImport {
277277
adr := address.Address.HexWithPrefix()
278-
impName := imp.Imports[0].Identifier
278+
impName := imp.Imports[0].Identifier.Identifier
279279
deps = append(deps, fmt.Sprintf("%s.%s", adr, impName))
280280
}
281281
}

0 commit comments

Comments
 (0)