Skip to content
Unverified Commit f7dd85d0 authored by Muharem Ismailov's avatar Muharem Ismailov Committed by GitHub
Browse files

Assets: can_decrease/increase for destroying asset is not successful (#3286)

Functions `can_decrease` and `can_increase` do not return successful
consequence results for assets undergoing destruction; instead, they
return the `UnknownAsset` consequence variant.

This update aligns their behavior with similar functions, such as
`reducible_balance`, `increase_balance`, `decrease_balance`, and `burn`,
which return an `AssetNotLive` error for assets in the process of being
destroyed.
parent d3cdfc44
Pipeline #484308 waiting for manual action with stages
in 1 hour, 21 minutes, and 43 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment