Serum: Index reservation account has 8 bytes
otherwise all code needs to be able to deal with mango accounts that are smaller than 8 bytes in size.
This commit is contained in:
parent
0222ca8954
commit
5e0001afb8
|
@ -38,7 +38,7 @@ pub struct Serum3RegisterMarket<'info> {
|
|||
seeds = [b"Serum3Index".as_ref(), group.key().as_ref(), &market_index.to_le_bytes()],
|
||||
bump,
|
||||
payer = payer,
|
||||
space = 1,
|
||||
space = 8, // like an anchor account with only a discriminator
|
||||
)]
|
||||
pub index_reservation: UncheckedAccount<'info>,
|
||||
|
||||
|
|
Loading…
Reference in New Issue