code: func (p *Peer) UpdateLastBlockHeight(newHeight int32) {
  	p.statsMtx.Lock()
  	log.Tracef("Updating last block height of peer %v from %v to %v",
  		p.addr, p.lastBlock, newHeight)
  	p.lastBlock = newHeight
  	p.statsMtx.Unlock()
  }
docs: // UpdateLastBlockHeight updates the last known block for the peer.
  //
  // This function is safe for concurrent access.