Commit ed6b6d8 1 parent ff65d06 commit ed6b6d8 Copy full SHA for ed6b6d8
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,13 @@ void database::clear_expired_orders()
379
379
cancel_settle_order (order);
380
380
continue ;
381
381
}
382
+ if ( GRAPHENE_100_PERCENT == mia.options .force_settlement_offset_percent ) // settle something for nothing
383
+ {
384
+ ilog ( " Canceling a force settlement in ${asset} because settlement offset is 100%" ,
385
+ (" asset" , mia_object.symbol ));
386
+ cancel_settle_order (order);
387
+ continue ;
388
+ }
382
389
if ( max_settlement_volume.asset_id != current_asset )
383
390
max_settlement_volume = mia_object.amount (mia.max_force_settlement_volume (mia_object.dynamic_data (*this ).current_supply ));
384
391
// When current_asset_finished is true, this would be the 2nd time processing the same order.
You can’t perform that action at this time.
0 commit comments