@@ -20,7 +20,7 @@ pub struct AdvanceNonceAccount {
2020 pub authorized : AccountInfo ,
2121 pub recent_blockhashes : AccountInfo ,
2222}
23- pub fn advance_nonce_account ( ctx : CpiContext < ' _ , ' _ , ' static , AdvanceNonceAccount > ) -> Result < ( ) > {
23+ pub fn advance_nonce_account ( ctx : CpiContext < ' _ , ' _ , AdvanceNonceAccount > ) -> Result < ( ) > {
2424 let instruction = system_instruction:: AdvanceNonceAccount {
2525 account : & ctx. accounts . nonce ,
2626 recent_blockhashes_sysvar : & ctx. accounts . recent_blockhashes ,
@@ -37,7 +37,7 @@ pub struct Allocate {
3737 pub account_to_allocate : AccountInfo ,
3838}
3939
40- pub fn allocate ( ctx : CpiContext < ' _ , ' _ , ' static , Allocate > , space : u64 ) -> Result < ( ) > {
40+ pub fn allocate ( ctx : CpiContext < ' _ , ' _ , Allocate > , space : u64 ) -> Result < ( ) > {
4141 let instruction = system_instruction:: Allocate {
4242 account : & ctx. accounts . account_to_allocate ,
4343 space,
@@ -54,7 +54,7 @@ pub struct AllocateWithSeed {
5454}
5555
5656pub fn allocate_with_seed (
57- ctx : CpiContext < ' _ , ' _ , ' static , AllocateWithSeed > ,
57+ ctx : CpiContext < ' _ , ' _ , AllocateWithSeed > ,
5858 seed : & str ,
5959 space : u64 ,
6060 owner : & Pubkey ,
@@ -76,7 +76,7 @@ pub struct Assign {
7676 pub account_to_assign : AccountInfo ,
7777}
7878
79- pub fn assign ( ctx : CpiContext < ' _ , ' _ , ' static , Assign > , owner : & Pubkey ) -> Result < ( ) > {
79+ pub fn assign ( ctx : CpiContext < ' _ , ' _ , Assign > , owner : & Pubkey ) -> Result < ( ) > {
8080 // Build instruction accounts
8181 let instruction = system_instruction:: Assign {
8282 account : & ctx. accounts . account_to_assign ,
@@ -95,7 +95,7 @@ pub struct AssignWithSeed {
9595}
9696
9797pub fn assign_with_seed (
98- ctx : CpiContext < ' _ , ' _ , ' static , AssignWithSeed > ,
98+ ctx : CpiContext < ' _ , ' _ , AssignWithSeed > ,
9999 seed : & str ,
100100 owner : & Pubkey ,
101101) -> Result < ( ) > {
@@ -117,7 +117,7 @@ pub struct AuthorizeNonceAccount {
117117}
118118
119119pub fn authorize_nonce_account (
120- ctx : CpiContext < ' _ , ' _ , ' static , AuthorizeNonceAccount > ,
120+ ctx : CpiContext < ' _ , ' _ , AuthorizeNonceAccount > ,
121121 new_authority : & Pubkey ,
122122) -> Result < ( ) > {
123123 let instruction = system_instruction:: AuthorizeNonceAccount {
@@ -138,7 +138,7 @@ pub struct CreateAccount {
138138}
139139
140140pub fn create_account (
141- ctx : CpiContext < ' _ , ' _ , ' static , CreateAccount > ,
141+ ctx : CpiContext < ' _ , ' _ , CreateAccount > ,
142142 lamports : u64 ,
143143 space : u64 ,
144144 owner : & Pubkey ,
@@ -163,7 +163,7 @@ pub struct CreateAccountWithSeed {
163163}
164164
165165pub fn create_account_with_seed (
166- ctx : CpiContext < ' _ , ' _ , ' static , CreateAccountWithSeed > ,
166+ ctx : CpiContext < ' _ , ' _ , CreateAccountWithSeed > ,
167167 seed : & str ,
168168 lamports : u64 ,
169169 space : u64 ,
@@ -246,7 +246,7 @@ pub struct InitializeNonceAccount {
246246}
247247
248248pub fn initialize_nonce_account (
249- ctx : CpiContext < ' _ , ' _ , ' static , InitializeNonceAccount > ,
249+ ctx : CpiContext < ' _ , ' _ , InitializeNonceAccount > ,
250250 authority : & Pubkey ,
251251) -> Result < ( ) > {
252252 let instruction = system_instruction:: InitializeNonceAccount {
@@ -264,7 +264,7 @@ pub struct Transfer {
264264 pub to : AccountInfo ,
265265}
266266
267- pub fn transfer ( ctx : CpiContext < ' _ , ' _ , ' static , Transfer > , lamports : u64 ) -> Result < ( ) > {
267+ pub fn transfer ( ctx : CpiContext < ' _ , ' _ , Transfer > , lamports : u64 ) -> Result < ( ) > {
268268 let instruction = system_instruction:: Transfer {
269269 from : & ctx. accounts . from ,
270270 to : & ctx. accounts . to ,
@@ -283,7 +283,7 @@ pub struct TransferWithSeed {
283283}
284284
285285pub fn transfer_with_seed (
286- ctx : CpiContext < ' _ , ' _ , ' static , TransferWithSeed > ,
286+ ctx : CpiContext < ' _ , ' _ , TransferWithSeed > ,
287287 seed : & str ,
288288 owner : & Pubkey ,
289289 lamports : u64 ,
@@ -312,7 +312,7 @@ pub struct WithdrawNonceAccount {
312312}
313313
314314pub fn withdraw_nonce_account (
315- ctx : CpiContext < ' _ , ' _ , ' static , WithdrawNonceAccount > ,
315+ ctx : CpiContext < ' _ , ' _ , WithdrawNonceAccount > ,
316316 lamports : u64 ,
317317) -> Result < ( ) > {
318318 let instruction = system_instruction:: WithdrawNonceAccount {
0 commit comments