Skip to content

Commit b94d265

Browse files
committed
update comment
1 parent 77cff65 commit b94d265

File tree

1 file changed

+2
-1
lines changed
  • packages/snaps-utils/src

1 file changed

+2
-1
lines changed

packages/snaps-utils/src/ui.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ export function validateJsxElements(
454454
break;
455455
case 'AssetSelector':
456456
validateAssetSelector(
457-
// We assume that the address part of the CAIP-10 account ID are the same.
457+
// We assume that the address part of the CAIP-10 account ID are the same, as
458+
// that is already validated in the struct.
458459
childNode.props.addresses[0],
459460
getAccountByAddress,
460461
);

0 commit comments

Comments
 (0)