Return to trace! on Dispatch log to undo stack issue
Change-Id: Ica665e89d27585eb6ecfa7df5339413c7703b3a9
This commit is contained in:
parent
f8a0184a1d
commit
eafa7e0500
|
@ -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)?;
|
||||
|
|
Loading…
Reference in New Issue