lamports -> lamports() (#16915)

This commit is contained in:
Jeff Washington (jwash)
2021-04-28 14:55:55 -05:00
committed by GitHub
parent b5d30846d6
commit 82e11588a5
4 changed files with 13 additions and 13 deletions

View File

@ -1992,7 +1992,7 @@ fn call<'a>(
let account = account.borrow();
if let Some(mut account_ref) = account_ref {
if message.is_writable(i, demote_sysvar_write_locks) && !account.executable() {
*account_ref.lamports = account.lamports;
*account_ref.lamports = account.lamports();
*account_ref.owner = *account.owner();
if account_ref.data.len() != account.data().len() {
if !account_ref.data.is_empty() {