13 lines
501 B
Diff
13 lines
501 B
Diff
|
diff --git a/sdk/program/src/account_info.rs b/sdk/program/src/account_info.rs
|
||
|
index 372370d0e15a0f2877b02ad29586e5b352438b24..3db3e9839b6535786e60be5602c03d0c909bf937 100644
|
||
|
--- a/sdk/program/src/account_info.rs
|
||
|
+++ b/sdk/program/src/account_info.rs
|
||
|
@@ -182,6 +182,7 @@ impl<'a> AccountInfo<'a> {
|
||
|
Ok(())
|
||
|
}
|
||
|
|
||
|
+ #[rustversion::attr(since(1.72), allow(invalid_reference_casting))]
|
||
|
pub fn assign(&self, new_owner: &Pubkey) {
|
||
|
// Set the non-mut owner field
|
||
|
unsafe {
|