core: gofmt blockchain.go

This commit is contained in:
Roman Khimov 2019-11-06 16:09:45 +03:00
parent 79d0c7446a
commit 90d4299f0b

View file

@ -266,7 +266,7 @@ func (bc *Blockchain) AddHeaders(headers ...*Header) (err error) {
} }
if oldlen != headerList.Len() { if oldlen != headerList.Len() {
updateHeaderHeightMetric(headerList.Len()-1) updateHeaderHeightMetric(headerList.Len() - 1)
if err = bc.store.PutBatch(batch); err != nil { if err = bc.store.PutBatch(batch); err != nil {
return return
} }