Revert "Make instruction data opaque to runtime (#6470)" (#6564)

This reverts commit 6eeca9c6f1.
This commit is contained in:
Jack May
2019-10-25 16:22:41 -07:00
committed by GitHub
parent 0cfa3d3de7
commit d68e2c4d06
10 changed files with 114 additions and 94 deletions

View File

@@ -167,12 +167,8 @@ pub fn process_instruction(
}
}
} else {
warn!(
"Invalid instruction data ({:?}): {:?}",
ix_data.len(),
ix_data
);
return Err(InstructionError::InvalidInstructionData);
warn!("Invalid instruction data: {:?}", ix_data);
return Err(InstructionError::GenericError);
}
Ok(())
}