[stable29] fix: optimise getWrongShareOwnership
query
#47577
Merged
getWrongShareOwnership
query
#47577