Address
#[account(
address = thread.pubkey(),
constraint = thread.id.eq("my_thread"),
has_one = authority,
)]
pub thread: Account<'info, Thread>Last updated
#[account(
address = thread.pubkey(),
constraint = thread.id.eq("my_thread"),
has_one = authority,
)]
pub thread: Account<'info, Thread>Last updated