Fix typos

This commit is contained in:
Greg Fitzgerald 2018-11-24 11:56:23 -07:00
parent e0e6c3fdb2
commit 655ee1a64b
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ pub fn is_legacy_program(program_id: &Pubkey) -> bool {
}
/// Process an instruction
/// This method calls the instruction's program entry pont method
/// This method calls the instruction's program entrypoint method
fn process_instruction(
tx: &Transaction,
instruction_index: usize,
@ -83,7 +83,7 @@ fn verify_instruction(
}
/// Execute an instruction
/// This method calls the instruction's program entry pont method and verifies that the result of
/// This method calls the instruction's program entrypoint method and verifies that the result of
/// the call does not violate the bank's accounting rules.
/// The accounts are committed back to the bank only if this function returns Ok(_).
pub fn execute_instruction(