Skip to content

Commit

Permalink
fix: ERC-7730 => EIP-712 conversion: fix nested paths (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger authored Oct 7, 2024
1 parent b263ad5 commit 488bc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erc7730/convert/convert_erc7730_to_eip712.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def convert_field_description(cls, field: ResolvedFieldDescription, prefix: str
case _:
assert_never(field.format)
return LegacyEIP712Field(
path=field.path,
path=field.path if prefix is None else f"{prefix}.{field.path}",
label=field.label,
assetPath=asset_path,
format=field_format,
Expand Down

0 comments on commit 488bc85

Please sign in to comment.