File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -577,8 +577,6 @@ mod tests {
577
577
578
578
let mut bank_fields = bank. get_fields_to_serialize ( ) ;
579
579
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 ( ) ;
582
580
serde_snapshot:: serialize_bank_snapshot_with (
583
581
serializer,
584
582
bank_fields,
@@ -587,7 +585,8 @@ mod tests {
587
585
AccountsHash ( Hash :: new_unique ( ) ) ,
588
586
& get_storages_to_serialize ( & snapshot_storages) ,
589
587
ExtraFieldsToSerialize {
590
- lamports_per_signature : last_lamports_per_signature,
588
+ lamports_per_signature : solana_sdk:: fee_calculator:: FeeRateGovernor :: default ( )
589
+ . lamports_per_signature ,
591
590
incremental_snapshot_persistence : Some ( & incremental_snapshot_persistence) ,
592
591
epoch_accounts_hash : Some ( EpochAccountsHash :: new ( Hash :: new_unique ( ) ) ) ,
593
592
versioned_epoch_stakes,
You can’t perform that action at this time.
0 commit comments