Skip to content

Commit 1c57657

Browse files
committed
fix abi test
1 parent a3f7b30 commit 1c57657

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runtime/src/bank/serde_snapshot.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,6 @@ mod tests {
577577

578578
let mut bank_fields = bank.get_fields_to_serialize();
579579
let versioned_epoch_stakes = std::mem::take(&mut bank_fields.versioned_epoch_stakes);
580-
let (_last_hash, last_lamports_per_signature) =
581-
bank.last_blockhash_and_lamports_per_signature();
582580
serde_snapshot::serialize_bank_snapshot_with(
583581
serializer,
584582
bank_fields,
@@ -587,7 +585,8 @@ mod tests {
587585
AccountsHash(Hash::new_unique()),
588586
&get_storages_to_serialize(&snapshot_storages),
589587
ExtraFieldsToSerialize {
590-
lamports_per_signature: last_lamports_per_signature,
588+
lamports_per_signature: solana_sdk::fee_calculator::FeeRateGovernor::default()
589+
.target_lamports_per_signature,
591590
incremental_snapshot_persistence: Some(&incremental_snapshot_persistence),
592591
epoch_accounts_hash: Some(EpochAccountsHash::new(Hash::new_unique())),
593592
versioned_epoch_stakes,

0 commit comments

Comments
 (0)