(cherry picked from commit 2f5bb7e507
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
@ -2561,7 +2561,7 @@ impl Bank {
|
||||
} else {
|
||||
rent_share
|
||||
};
|
||||
if rent_to_be_paid > 0 {
|
||||
if !enforce_fix || rent_to_be_paid > 0 {
|
||||
let mut account = self.get_account(&pubkey).unwrap_or_default();
|
||||
account.lamports += rent_to_be_paid;
|
||||
self.store_account(&pubkey, &account);
|
||||
|
Reference in New Issue
Block a user