Skip to content

Commit db74e0f

Browse files
committed
cleanup
1 parent 2486402 commit db74e0f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tokens/token-2022/cpi-guard/steel/program/src/cpi_burn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn process_cpi_burn(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramRe
4848
],
4949
)?;
5050

51-
msg!("Cpi Guard Extension: Mint Checked.");
51+
msg!("Cpi Guard Extension Test: Burn.");
5252

5353
Ok(())
5454
}
Binary file not shown.

tokens/token-2022/default-account-state/steel/program/tests/test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ async fn setup() -> (BanksClient, Keypair, Hash) {
1919
steel_api::ID,
2020
processor!(steel_program::process_instruction),
2121
);
22-
// program_test.add_program("spl_token_2022", spl_token_2022::ID, None);
2322
program_test.prefer_bpf(true);
2423
program_test.start().await
2524
}
@@ -74,10 +73,10 @@ async fn run_test() {
7473
blockhash,
7574
);
7675
let res = banks.process_transaction(tx).await;
76+
7777
assert!(res.is_err(), "MintTo unexpectedly succeeded");
7878
let err_string = format!("{:?}", res);
7979

80-
// TokenError::AccountFrozen = 17 = 0x11
8180
assert!(
8281
err_string.contains("Custom(17)"),
8382
"Expected TokenError::AccountFrozen (17), got: {}",

0 commit comments

Comments
 (0)