forked from cerc-io/ipld-eth-server
		
	Fix whitespace errors
This commit is contained in:
		
							parent
							
								
									e6e2ed3308
								
							
						
					
					
						commit
						00bb48bafb
					
				| @ -39,7 +39,7 @@ func (repository CatFileChopLumpRepository) Create(headerID int64, models []inte | ||||
| 
 | ||||
| 		_, err := tx.Exec( | ||||
| 			`INSERT into maker.cat_file_chop_lump (header_id, ilk, what, data, tx_idx, log_idx, raw_log) | ||||
|         	VALUES($1, $2, $3, $4::NUMERIC, $5, $6, $7)`, | ||||
| 			VALUES($1, $2, $3, $4::NUMERIC, $5, $6, $7)`, | ||||
| 			headerID, chopLump.Ilk, chopLump.What, chopLump.Data, chopLump.TransactionIndex, chopLump.LogIndex, chopLump.Raw, | ||||
| 		) | ||||
| 		if err != nil { | ||||
|  | ||||
| @ -38,7 +38,7 @@ func (repository CatFileFlipRepository) Create(headerID int64, models []interfac | ||||
| 
 | ||||
| 		_, err = repository.db.Exec( | ||||
| 			`INSERT into maker.cat_file_flip (header_id, ilk, what, flip, tx_idx, log_idx, raw_log) | ||||
|         	VALUES($1, $2, $3, $4, $5, $6, $7)`, | ||||
| 			VALUES($1, $2, $3, $4, $5, $6, $7)`, | ||||
| 			headerID, flip.Ilk, flip.What, flip.Flip, flip.TransactionIndex, flip.LogIndex, flip.Raw, | ||||
| 		) | ||||
| 		if err != nil { | ||||
| @ -71,11 +71,11 @@ func (repository CatFileFlipRepository) MissingHeaders(startingBlockNumber, endi | ||||
| 	err := repository.db.Select( | ||||
| 		&result, | ||||
| 		`SELECT headers.id, headers.block_number FROM headers | ||||
|                LEFT JOIN checked_headers on headers.id = header_id | ||||
|                WHERE (header_id ISNULL OR cat_file_flip_checked IS FALSE) | ||||
|                AND headers.block_number >= $1 | ||||
|                AND headers.block_number <= $2 | ||||
|                AND headers.eth_node_fingerprint = $3`, | ||||
| 			LEFT JOIN checked_headers on headers.id = header_id | ||||
| 		WHERE (header_id ISNULL OR cat_file_flip_checked IS FALSE) | ||||
| 			AND headers.block_number >= $1 | ||||
| 			AND headers.block_number <= $2 | ||||
| 			AND headers.eth_node_fingerprint = $3`, | ||||
| 		startingBlockNumber, | ||||
| 		endingBlockNumber, | ||||
| 		repository.db.Node.ID, | ||||
|  | ||||
| @ -38,7 +38,7 @@ func (repository CatFilePitVowRepository) Create(headerID int64, models []interf | ||||
| 
 | ||||
| 		_, err = repository.db.Exec( | ||||
| 			`INSERT into maker.cat_file_pit_vow (header_id, what, data, tx_idx, log_idx, raw_log) | ||||
|         	VALUES($1, $2, $3, $4, $5, $6)`, | ||||
| 			VALUES($1, $2, $3, $4, $5, $6)`, | ||||
| 			headerID, vow.What, vow.Data, vow.TransactionIndex, vow.LogIndex, vow.Raw, | ||||
| 		) | ||||
| 		if err != nil { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user