Remove copypasta (#8912)

This commit is contained in:
Jack May
2020-03-17 15:59:09 -07:00
committed by GitHub
parent d14dea4660
commit d087ed5bf6
4 changed files with 282 additions and 378 deletions

View File

@ -67,14 +67,14 @@ fn process_instruction(
info!("return custom error");
Err(MyError::TheAnswer.into())
}
6 => {
7 => {
let data = accounts[0].try_borrow_mut_data()?;
let data2 = accounts[0].try_borrow_mut_data()?;
assert_eq!(*data, *data2);
Ok(())
}
_ => {
info!("Unrecognized command");
info!("Unsupported");
Err(ProgramError::InvalidInstructionData)
}
}