diff --git a/sdk/program/src/program_error.rs b/sdk/program/src/program_error.rs index f07936cc37..bce1a6a50e 100644 --- a/sdk/program/src/program_error.rs +++ b/sdk/program/src/program_error.rs @@ -169,7 +169,7 @@ impl From for ProgramError { ACCOUNT_BORROW_FAILED => Self::AccountBorrowFailed, MAX_SEED_LENGTH_EXCEEDED => Self::MaxSeedLengthExceeded, INVALID_SEEDS => Self::InvalidSeeds, - BORSH_IO_ERROR => Self::BorshIoError("Unkown".to_string()), + BORSH_IO_ERROR => Self::BorshIoError("Unknown".to_string()), ACCOUNT_NOT_RENT_EXEMPT => Self::AccountNotRentExempt, UNSUPPORTED_SYSVAR => Self::UnsupportedSysvar, ILLEGAL_OWNER => Self::IllegalOwner, @@ -227,7 +227,7 @@ where ACCOUNT_BORROW_FAILED => Self::AccountBorrowFailed, MAX_SEED_LENGTH_EXCEEDED => Self::MaxSeedLengthExceeded, INVALID_SEEDS => Self::InvalidSeeds, - BORSH_IO_ERROR => Self::BorshIoError("Unkown".to_string()), + BORSH_IO_ERROR => Self::BorshIoError("Unknown".to_string()), ACCOUNT_NOT_RENT_EXEMPT => Self::AccountNotRentExempt, UNSUPPORTED_SYSVAR => Self::UnsupportedSysvar, ILLEGAL_OWNER => Self::IllegalOwner,