return List, not list

This commit is contained in:
Jacek Sieka 2021-05-24 23:25:18 +02:00
parent d1b46e2489
commit 67012a23d1
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def load_historical_batches(pre: BeaconState) -> List[HistoricalBatchSummary, HI
# altair-compatible clients leading up to the fork. All in all, this should # altair-compatible clients leading up to the fork. All in all, this should
# be around 10kb of hashes. # be around 10kb of hashes.
return [] return List[HistoricalBatchSummary, HISTORICAL_ROOTS_LIMIT]()
def upgrade_to_altair(pre: phase0.BeaconState) -> BeaconState: def upgrade_to_altair(pre: phase0.BeaconState) -> BeaconState:
epoch = phase0.get_current_epoch(pre) epoch = phase0.get_current_epoch(pre)