Unable to settle more than total debt amount in individual settlement fund when no sufficient price feeds #2587
Closed
2 of 17 tasks
Labels
Milestone
Bug Description
If a BitAsset's individual settlement fund is not empty, and there is no sufficient price feeds, it is unable to settle an amount which is greater than the total debt amount in the individual settlement fund. This is due to a lack of a null price check in code
bitshares-core/libraries/chain/asset_evaluator.cpp
Lines 1343 to 1346 in 2c2e0ef
bitshares-core/libraries/chain/db_market.cpp
Line 908 in f291bcc
This is not critical since the BitAsset holders can still request smaller amounts.
Steps To Reproduce
TBD
Expected Behavior
The individual settlement fund normally pays the force settlement request, and the excess amount is returned to the requester.
Host Environment
Please provide details about the host environment. Much of this information can be found running:
witness_node --version
.6.0.1
Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: