core: gofmt blockchain.go
This commit is contained in:
parent
79d0c7446a
commit
90d4299f0b
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ func (bc *Blockchain) AddHeaders(headers ...*Header) (err error) {
|
|||
}
|
||||
|
||||
if oldlen != headerList.Len() {
|
||||
updateHeaderHeightMetric(headerList.Len()-1)
|
||||
updateHeaderHeightMetric(headerList.Len() - 1)
|
||||
if err = bc.store.PutBatch(batch); err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue