79316845

Date: 2024-12-30 04:59:19
Score: 1
Natty:
Report link

In your code you might need <'info>

#[account]
pub struct NewAccount<'info> { //add the lifetime specifier here, the <'info> thang
    pub entries: u64,
    pub keys: [&[u8]],
}

At least that's my guess. Try that out maybe it will fix your problem. Lifetime specifiers are still something fresh to me.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vincent Pulling