Skip to content

Commit 8236d71

Browse files
committed
make data_ptr public
1 parent 4f47ad2 commit 8236d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/pinocchio/src/account_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ impl AccountInfo {
609609
}
610610

611611
/// Returns the memory address of the account data.
612-
fn data_ptr(&self) -> *mut u8 {
612+
pub fn data_ptr(&self) -> *mut u8 {
613613
unsafe { (self.raw as *mut u8).add(core::mem::size_of::<Account>()) }
614614
}
615615
}

0 commit comments

Comments
 (0)