Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-09-26 16:55:23 +08:00
parent b29a487366
commit 47899d72b8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1556,9 +1556,11 @@ func GetBlockAttributeViewKeys(nodeID string) (ret []*BlockAttributeViewKeys) {
for _, avID := range avIDs {
attrView := cachedAttrViews[avID]
if nil == attrView {
attrView, _ = av.ParseAttributeView(avID)
var err error
attrView, err = av.ParseAttributeView(avID)
if nil == attrView {
return
logging.LogErrorf("parse attribute view [%s] failed: %s", avID, err)
continue
}
cachedAttrViews[avID] = attrView
}