fix merge conflict (#15085)

This commit is contained in:
Jeff Washington (jwash) 2021-02-04 09:20:50 -06:00 committed by GitHub
parent 600ff0d915
commit e7f53182e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -313,16 +313,6 @@ impl<'a> LoadedAccount<'a> {
},
}
}
pub fn lamports(&self) -> u64 {
match self {
LoadedAccount::Stored(stored_account_meta) => stored_account_meta.account_meta.lamports,
LoadedAccount::Cached((_, cached_account)) => match cached_account {
Cow::Owned(cached_account) => cached_account.account.lamports,
Cow::Borrowed(cached_account) => cached_account.account.lamports,
},
}
}
}
#[derive(Clone, Default, Debug)]