forked from cerc-io/ipld-eth-server
Fix git whitespace warnings
This commit is contained in:
parent
bb204b6b14
commit
b7f8432e65
@ -68,11 +68,11 @@ func (repository DripFileIlkRepository) MissingHeaders(startingBlockNumber, endi
|
|||||||
err := repository.DB.Select(
|
err := repository.DB.Select(
|
||||||
&result,
|
&result,
|
||||||
`SELECT headers.id, headers.block_number FROM headers
|
`SELECT headers.id, headers.block_number FROM headers
|
||||||
LEFT JOIN checked_headers on headers.id = header_id
|
LEFT JOIN checked_headers on headers.id = header_id
|
||||||
WHERE (header_id ISNULL OR drip_file_ilk_checked IS FALSE)
|
WHERE (header_id ISNULL OR drip_file_ilk_checked IS FALSE)
|
||||||
AND headers.block_number >= $1
|
AND headers.block_number >= $1
|
||||||
AND headers.block_number <= $2
|
AND headers.block_number <= $2
|
||||||
AND headers.eth_node_fingerprint = $3`,
|
AND headers.eth_node_fingerprint = $3`,
|
||||||
startingBlockNumber,
|
startingBlockNumber,
|
||||||
endingBlockNumber,
|
endingBlockNumber,
|
||||||
repository.DB.Node.ID,
|
repository.DB.Node.ID,
|
||||||
|
@ -70,11 +70,11 @@ func (repository DripFileRepoRepository) MissingHeaders(startingBlockNumber, end
|
|||||||
err := repository.DB.Select(
|
err := repository.DB.Select(
|
||||||
&result,
|
&result,
|
||||||
`SELECT headers.id, headers.block_number FROM headers
|
`SELECT headers.id, headers.block_number FROM headers
|
||||||
LEFT JOIN checked_headers on headers.id = header_id
|
LEFT JOIN checked_headers on headers.id = header_id
|
||||||
WHERE (header_id ISNULL OR drip_file_repo_checked IS FALSE)
|
WHERE (header_id ISNULL OR drip_file_repo_checked IS FALSE)
|
||||||
AND headers.block_number >= $1
|
AND headers.block_number >= $1
|
||||||
AND headers.block_number <= $2
|
AND headers.block_number <= $2
|
||||||
AND headers.eth_node_fingerprint = $3`,
|
AND headers.eth_node_fingerprint = $3`,
|
||||||
startingBlockNumber,
|
startingBlockNumber,
|
||||||
endingBlockNumber,
|
endingBlockNumber,
|
||||||
repository.DB.Node.ID,
|
repository.DB.Node.ID,
|
||||||
|
@ -69,11 +69,11 @@ func (repository DripFileVowRepository) MissingHeaders(startingBlockNumber, endi
|
|||||||
err := repository.DB.Select(
|
err := repository.DB.Select(
|
||||||
&result,
|
&result,
|
||||||
`SELECT headers.id, headers.block_number FROM headers
|
`SELECT headers.id, headers.block_number FROM headers
|
||||||
LEFT JOIN checked_headers on headers.id = header_id
|
LEFT JOIN checked_headers on headers.id = header_id
|
||||||
WHERE (header_id ISNULL OR drip_file_vow_checked IS FALSE)
|
WHERE (header_id ISNULL OR drip_file_vow_checked IS FALSE)
|
||||||
AND headers.block_number >= $1
|
AND headers.block_number >= $1
|
||||||
AND headers.block_number <= $2
|
AND headers.block_number <= $2
|
||||||
AND headers.eth_node_fingerprint = $3`,
|
AND headers.eth_node_fingerprint = $3`,
|
||||||
startingBlockNumber,
|
startingBlockNumber,
|
||||||
endingBlockNumber,
|
endingBlockNumber,
|
||||||
repository.DB.Node.ID,
|
repository.DB.Node.ID,
|
||||||
|
Loading…
Reference in New Issue
Block a user