Skip to content

Commit

Permalink
🐛 Allow updates on dynamic types
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacedopv committed Jan 20, 2023
1 parent 595ffd1 commit 5919f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transactions/updateAssetType.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var UpdateAssetType = Transaction{
assetTypeObj := *assetTypeCheck

// Verify if Asset Type allows dynamic modifications
if assetTypeObj.Dynamic {
if !assetTypeObj.Dynamic {
return nil, errors.WrapError(err, fmt.Sprintf("asset type '%s' does not allows dynamic modifications", tagValue.(string)))
}

Expand Down

0 comments on commit 5919f1c

Please sign in to comment.