Skip to content

Commit accfd03

Browse files
authored
Rm unneeded payer account (#31)
1 parent 2dbfee3 commit accfd03

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

solana-programs/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

solana-programs/programs/cron/src/instructions/close_cron_job_v0.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ pub struct CloseCronJobV0<'info> {
1111
/// CHECK: Just getting sol
1212
#[account(mut)]
1313
pub rent_refund: AccountInfo<'info>,
14-
#[account(mut)]
15-
pub payer: Signer<'info>,
1614
pub authority: Signer<'info>,
1715
#[account(mut)]
1816
pub user_cron_jobs: Box<Account<'info, UserCronJobsV0>>,

tuktuk-program/idls/cron.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"address": "cronAjRZnJn3MTP3B9kE62NWDrjSuAPVXf9c4hu4grM",
33
"metadata": {
44
"name": "cron",
5-
"version": "0.1.4",
5+
"version": "0.2.0",
66
"spec": "0.1.0",
77
"description": "Created with Anchor"
88
},
@@ -53,11 +53,6 @@
5353
"name": "rent_refund",
5454
"writable": true
5555
},
56-
{
57-
"name": "payer",
58-
"writable": true,
59-
"signer": true
60-
},
6156
{
6257
"name": "authority",
6358
"signer": true,

0 commit comments

Comments
 (0)