Skip to content

Commit

Permalink
🐛 Allow any org to call loadAssetTypeList
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacedopv committed Jan 20, 2023
1 parent e890aa4 commit 2f44271
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion transactions/txList.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ func InitTxList(l []Transaction) {
if assets.GetEnabledDynamicAssetType() {
callers := assets.GetAssetAdminsDynamicAssetType()
for i := range dynamicAssetTypesTxs {
dynamicAssetTypesTxs[i].Callers = callers
if dynamicAssetTypesTxs[i].Tag != "loadAssetTypeList" {
dynamicAssetTypesTxs[i].Callers = callers
}
}
txList = append(txList, dynamicAssetTypesTxs...)
}
Expand Down

0 comments on commit 2f44271

Please sign in to comment.