Comment cleanup
This commit is contained in:
parent
4d3e301ee4
commit
f6371cce17
|
@ -209,7 +209,7 @@ pub enum InstructionError {
|
||||||
/// Warning: This error should never be emitted by the runtime.
|
/// Warning: This error should never be emitted by the runtime.
|
||||||
///
|
///
|
||||||
/// This error includes strings from the underlying 3rd party Borsh crate
|
/// This error includes strings from the underlying 3rd party Borsh crate
|
||||||
/// which can be dangerous beause the error strings could change across
|
/// which can be dangerous because the error strings could change across
|
||||||
/// Borsh versions. Only programs can use this error because they are
|
/// Borsh versions. Only programs can use this error because they are
|
||||||
/// consistent across Solana software versions.
|
/// consistent across Solana software versions.
|
||||||
///
|
///
|
||||||
|
@ -235,7 +235,7 @@ pub enum InstructionError {
|
||||||
/// Illegal account owner
|
/// Illegal account owner
|
||||||
#[error("Provided owner is not allowed")]
|
#[error("Provided owner is not allowed")]
|
||||||
IllegalOwner,
|
IllegalOwner,
|
||||||
// Note: For any new error added here an equivilent ProgramError and it's
|
// Note: For any new error added here an equivalent ProgramError and its
|
||||||
// conversions must also be added
|
// conversions must also be added
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue