Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
remove unnecessary match
Browse files Browse the repository at this point in the history
  • Loading branch information
joecaswell committed Apr 13, 2022
1 parent 1816db2 commit de78e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ attempt_fetch_snap_source_snapshot(BaseUrl, SnapInfo) ->
{ok, Filename}
{invalid, Filename, Filepath} ->
_ = do_snap_source_download(build_url(BaseUrl, Filename), Filepath),
{ok, _} = validate_snapshot_file(SnapInfo)
validate_snapshot_file(SnapInfo)
end.

validate_snapshot_file(#snapshot_info{height = Height, file_hash = Hash,
Expand Down

0 comments on commit de78e40

Please sign in to comment.