Remove the 5 integer msg! form

(cherry picked from commit c5c699a918)
This commit is contained in:
Michael Vines
2021-12-10 13:13:30 -08:00
parent 0576d133ad
commit c1f54c22ed
8 changed files with 25 additions and 44 deletions

View File

@ -7,6 +7,7 @@ use solana_program::{
account_info::AccountInfo,
bpf_loader, entrypoint,
entrypoint::{ProgramResult, MAX_PERMITTED_DATA_INCREASE},
log::sol_log_64,
msg,
program::{get_return_data, invoke, invoke_signed, set_return_data},
program_error::ProgramError,
@ -105,7 +106,7 @@ fn process_instruction(
assert!(accounts[INVOKED_PROGRAM_DUP_INDEX]
.try_borrow_mut_data()
.is_err());
msg!(data[0], 0, 0, 0, 0);
sol_log_64(data[0] as u64, 0, 0, 0, 0);
}
}
RETURN_OK => {