Skip to content

Conversation

@ANISH-SR
Copy link
Contributor

@ANISH-SR ANISH-SR commented Jan 1, 2026

Summary of Changes

  • Added an explicit check in process_accept_link to enforce link.side_z_pk == *side_z_account.key.
  • The instruction now fails early with DoubleZeroError::InvalidAccountOwner if the Side-Z account does not match the link.
  • Prevents accepting a link with a Side-Z device that differs from the one recorded on-chain.

Testing Verification

  • Existing tests pass.

Closes #2214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify that link.side_z_pk == side_z_account.key in AcceptLink

1 participant