Allow GNUSparse for genesis.bin (#13704)
This commit is contained in:
parent
43d5e47ea9
commit
397cf726fc
@ -227,6 +227,7 @@ fn unpack_genesis<A: Read, P: AsRef<Path>>(
|
||||
fn is_valid_genesis_archive_entry(parts: &[&str], kind: tar::EntryType) -> bool {
|
||||
trace!("validating: {:?} {:?}", parts, kind);
|
||||
match (parts, kind) {
|
||||
(["genesis.bin"], GNUSparse) => true,
|
||||
(["genesis.bin"], Regular) => true,
|
||||
(["rocksdb"], Directory) => true,
|
||||
(["rocksdb", ..], GNUSparse) => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user