Return to trace! on Dispatch log to undo stack issue

Change-Id: Ica665e89d27585eb6ecfa7df5339413c7703b3a9
This commit is contained in:
Reisen 2021-08-09 16:52:56 +00:00
parent f8a0184a1d
commit eafa7e0500
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ macro_rules! solitaire {
$(
n if n == Instruction::$row as u8 => {
(move || {
solana_program::msg!("Dispatch: {}", stringify!($row));
trace!("Dispatch: {}", stringify!($row));
let ix_data: $kind = BorshDeserialize::try_from_slice(&d[1..]).map_err(|e| SolitaireError::InstructionDeserializeFailed(e))?;
let mut accounts: $row = FromAccounts::from(p, &mut a.iter(), &())?;
$fn(&ExecutionContext{program_id: p, accounts: a}, &mut accounts, ix_data)?;