Skip to content

Commit 600d3fc

Browse files
authored
Merge pull request #135 from aws-samples/134-link-for-bsc-snapshot-doesnt-get-extracted-correctly-from-github-gist
Fix download link extraction
2 parents 46cd016 + ca97ea9 commit 600d3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bsc/lib/assets/download-snapshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BSC_SNAPSHOTS_DIR=/data/
1212
BSC_SNAPSHOTS_DOWNLOAD_STATUS=-1
1313

1414
if [ "$BSC_SNAPSHOTS_URI" == "none" ]; then
15-
BSC_SNAPSHOTS_URI=$(curl https://raw.githubusercontent.com/48Club/bsc-snapshots/main/data.json | jq -r .hash.local.link)
15+
BSC_SNAPSHOTS_URI=$(curl https://raw.githubusercontent.com/48Club/bsc-snapshots/main/data.json | jq -r .geth.local.link)
1616
fi
1717

1818
# take about 1 hour to download the bsc snapshot

0 commit comments

Comments
 (0)