@@ -71,7 +71,7 @@ impl RpcContext {
7171 Account {
7272 lamports : 100_000_000_000 ,
7373 data : [
74- WHIRLPOOLS_CONFIG_DISCRIMINATOR ,
74+ WHIRLPOOLS_CONFIG_DISCRIMINATOR . as_slice ( ) ,
7575 & signer. pubkey ( ) . to_bytes ( ) , // fee_authority
7676 & signer. pubkey ( ) . to_bytes ( ) , // collect_protocol_fee_authority
7777 & signer. pubkey ( ) . to_bytes ( ) , // reward_emissions_super_authority
@@ -91,7 +91,7 @@ impl RpcContext {
9191 Account {
9292 lamports : 100_000_000_000 ,
9393 data : [
94- FEE_TIER_DISCRIMINATOR ,
94+ FEE_TIER_DISCRIMINATOR . as_slice ( ) ,
9595 & config. to_bytes ( ) ,
9696 & 128u16 . to_le_bytes ( ) ,
9797 & 1000u16 . to_le_bytes ( ) ,
@@ -109,7 +109,7 @@ impl RpcContext {
109109 Account {
110110 lamports : 100_000_000_000 ,
111111 data : [
112- FEE_TIER_DISCRIMINATOR ,
112+ FEE_TIER_DISCRIMINATOR . as_slice ( ) ,
113113 & config. to_bytes ( ) ,
114114 & 64u16 . to_le_bytes ( ) ,
115115 & 300u16 . to_le_bytes ( ) ,
@@ -129,7 +129,7 @@ impl RpcContext {
129129 Account {
130130 lamports : 100_000_000_000 ,
131131 data : [
132- FEE_TIER_DISCRIMINATOR ,
132+ FEE_TIER_DISCRIMINATOR . as_slice ( ) ,
133133 & config. to_bytes ( ) ,
134134 & SPLASH_POOL_TICK_SPACING . to_le_bytes ( ) ,
135135 & 1000u16 . to_le_bytes ( ) ,
0 commit comments