Reject modifications to userdata if not owned by the program
This commit is contained in:
@ -25,6 +25,9 @@ pub enum ProgramError {
|
||||
/// Program spent the tokens of an account that doesn't belong to it
|
||||
ExternalAccountTokenSpend,
|
||||
|
||||
/// Program modified the userdata of an account that doesn't belong to it
|
||||
ExternalAccountUserdataModified,
|
||||
|
||||
/// An account's userdata contents was invalid
|
||||
InvalidUserdata,
|
||||
|
||||
|
Reference in New Issue
Block a user