Re-add removed whitespace

This commit is contained in:
Jack Grigg 2019-05-14 15:06:12 +01:00
parent 75cc3d49ba
commit 0a8eb6846b
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ func GetBlockRange(ctx context.Context, db *sql.DB, blockOut chan<- []byte, errO
func StoreBlock(conn *sql.DB, height int, hash string, sapling bool, encoded []byte) error { func StoreBlock(conn *sql.DB, height int, hash string, sapling bool, encoded []byte) error {
insertBlock := "REPLACE INTO blocks (block_height, block_hash, sapling, compact_encoding) values (?, ?, ?, ?)" insertBlock := "REPLACE INTO blocks (block_height, block_hash, sapling, compact_encoding) values (?, ?, ?, ?)"
tx, err := conn.Begin() tx, err := conn.Begin()
if err != nil { if err != nil {
return errors.Wrap(err, fmt.Sprintf("creating db tx %d", height)) return errors.Wrap(err, fmt.Sprintf("creating db tx %d", height))