add lifetimes to refs in ReadableAccount (#31258)
This commit is contained in:
parent
377ba53a31
commit
812d899c7f
|
@ -176,10 +176,10 @@ impl<'a> ReadableAccount for AppendVecStoredAccountMeta<'a> {
|
|||
fn lamports(&self) -> u64 {
|
||||
self.account_meta.lamports
|
||||
}
|
||||
fn data(&self) -> &[u8] {
|
||||
fn data(&self) -> &'a [u8] {
|
||||
self.data()
|
||||
}
|
||||
fn owner(&self) -> &Pubkey {
|
||||
fn owner(&self) -> &'a Pubkey {
|
||||
&self.account_meta.owner
|
||||
}
|
||||
fn executable(&self) -> bool {
|
||||
|
|
Loading…
Reference in New Issue