Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjohn1028 committed Jan 7, 2025
1 parent 5440aa3 commit bcdad1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mev-programs/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ test = "yarn ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.{ts,js}"
slots_per_epoch = "32"

[features]
resolution = false
resolution = false
2 changes: 1 addition & 1 deletion mev-programs/programs/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ edition = "2021"

[dependencies]
anchor-lang = "0.30.1"
jito-tip-distribution = { features = ["no-entrypoint", "no-idl"], path = "../tip-distribution" }
jito-tip-distribution = { features = ["no-entrypoint", "no-idl"], path = "../tip-distribution" }
4 changes: 4 additions & 0 deletions mev-programs/programs/tip-payment/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,10 @@ impl TipPaymentAccount {
Ok(tips)
}

#[deprecated(
since = "0.1.5",
note = "please change back to Anchor's `#[account(init)]` method"
)]
fn initialize<'info>(
seeds: &[u8],
program_id: &Pubkey,
Expand Down

0 comments on commit bcdad1c

Please sign in to comment.