Merge branch 'feature/478-estimate-transaction-fee' into 'develop'
#478 - fix information warning See merge request PBSA/peerplays!184
This commit is contained in:
commit
12c0c66f4b
1 changed files with 1 additions and 1 deletions
|
|
@ -3349,7 +3349,7 @@ public:
|
||||||
|
|
||||||
if(transaction_fee) {
|
if(transaction_fee) {
|
||||||
if (*transaction_fee >= xfer_op.amount) {
|
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)));
|
("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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue