Skip to content

Commit

Permalink
Improve error message in asset_claim_fees_evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelSantos committed May 6, 2020
1 parent cd4753b commit 0a789cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/asset_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ void_result asset_claim_fees_evaluator::do_evaluate( const asset_claim_fees_oper
FC_ASSERT( o.amount_to_claim.amount <= ((container_asset->get_id() == o.amount_to_claim.asset_id) ?
container_ddo->accumulated_fees :
container_ddo->accumulated_collateral_fees),
"Attempt to claim more fees than have accumulated within asset ${a} (${id})",
"Attempt to claim more collateral fees than have accumulated within asset ${a} (${id})",
("a",container_asset->symbol)("id",container_asset->id)("ddo",*container_ddo) );

return void_result();
Expand Down

0 comments on commit 0a789cf

Please sign in to comment.