Merge branch 'feature/478-estimate-transaction-fee' into 'develop'

#478 - fix information warning

See merge request PBSA/peerplays!184
This commit is contained in:
serkixenos 2022-12-01 01:53:01 +00:00
commit 12c0c66f4b

View file

@ -3349,7 +3349,7 @@ public:
if(transaction_fee) {
if (*transaction_fee >= xfer_op.amount) {
FC_THROW("Transaction fee: ${sidechain_fee}, would be grater than transfer amount ${amount}",
FC_THROW("Transaction fee: ${sidechain_fee}, is greater than 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)));
}
}