#489 - Fix error message

This commit is contained in:
Vlad Dobromyslov 2022-12-14 15:52:28 +02:00
parent 1bf5c82101
commit d387e324fe

View file

@ -3349,7 +3349,7 @@ public:
if(transaction_fee) {
if (*transaction_fee >= xfer_op.amount) {
FC_THROW("Transaction fee: ${sidechain_fee}, is greater than transferred amount ${amount}",
FC_THROW("Transaction fee: ${sidechain_fee}, is greater than or equal to the transferred amount ${amount}",
("sidechain_fee", get_asset(transaction_fee->asset_id).amount_to_pretty_string(transaction_fee->amount))("amount", get_asset(xfer_op.amount.asset_id).amount_to_pretty_string(xfer_op.amount.amount)));
}
}