[fix] import_snapshot dir
MODIFY
scripts/import_snapshot.sh
scripts/import_snapshot.sh
@@ -42,7 +42,7 @@ function import_snapshot() {
download "$net" "$from_dir"
- ./starcoin_db_exporter apply-snapshot -i "$from_dir" -n "$net" -o "$to_dir"
+ ./starcoin_db_exporter apply-snapshot -i "$from_dir"/snapshot -n "$net" -o "$to_dir"
case_status=$?
if [ $case_status -ne 0 ]; then
echo -e "apply-snapshot $net $from_dir fail"

[fix] import_snapshot dir (#3535)