Skip to content

Commit

Permalink
fix: increased config size
Browse files Browse the repository at this point in the history
  • Loading branch information
gcranju committed Dec 12, 2024
1 parent 1a1cab6 commit 095d1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/solana/programs/cluster-connection/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl Config {

/// Account discriminator + Xcall public key + Admin public key + connection
/// sequence + bump
pub const LEN: usize = constants::ACCOUNT_DISCRIMINATOR_SIZE + 32 + 32 + 16 + 1 + 1;
pub const LEN: usize = constants::ACCOUNT_DISCRIMINATOR_SIZE + 32 + 32 + 32 + 16 + 1 + 1 + 1 + 4 + 65 * 8;

/// Creates a new centralized connection `Config` state
pub fn new(xcall: Pubkey, admin: Pubkey, relayer: Pubkey, bump: u8) -> Self {
Expand Down

0 comments on commit 095d1d2

Please sign in to comment.