🎨 Clean code

This commit is contained in:
Daniel 2024-12-05 08:51:08 +08:00
parent 0b5a83d55f
commit c7746d1399
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 6 additions and 1 deletions

View file

@ -204,6 +204,8 @@ func GetDocsInfo(blockIDs []string, queryRefCount bool, queryAv bool) (rets []*B
}
func GetBlockRefText(id string) string {
FlushTxQueue()
bt := treenode.GetBlockTree(id)
if nil == bt {
return ErrBlockNotFound.Error()