Enable logging in exchange program (#3538)
This commit is contained in:
parent
a94bc80383
commit
c30eb6185c
|
@ -379,6 +379,8 @@ pub fn process_instruction(
|
|||
data: &[u8],
|
||||
_tick_height: u64,
|
||||
) -> Result<(), InstructionError> {
|
||||
solana_logger::setup();
|
||||
|
||||
let command = bincode::deserialize::<ExchangeInstruction>(data).map_err(|err| {
|
||||
info!("Invalid transaction data: {:?} {:?}", data, err);
|
||||
InstructionError::InvalidInstructionData
|
||||
|
|
Loading…
Reference in New Issue