Remove AccessType arg from create_new_ledger (#23591)
Creating a new ledger implicitly means that no other process could have previously held access to it. Additionally, creating a new ledger implicitly requires writing, so it follows that Primary access is required and we can drop access type as an argument.
This commit is contained in:
@@ -1723,7 +1723,6 @@ fn main() {
|
||||
&output_directory,
|
||||
&genesis_config,
|
||||
solana_runtime::hardened_unpack::MAX_GENESIS_ARCHIVE_UNPACKED_SIZE,
|
||||
AccessType::PrimaryOnly,
|
||||
BlockstoreAdvancedOptions::default(),
|
||||
)
|
||||
.unwrap_or_else(|err| {
|
||||
|
Reference in New Issue
Block a user