Add default fee for AccountSet.

This commit is contained in:
Arthur Britto
2013-01-01 12:35:35 -08:00
parent 2023e4266b
commit c78f352035

View File

@@ -1006,7 +1006,9 @@ Json::Value RPCHandler::doSubmit(Json::Value jvRequest)
} }
if (!txJSON.isMember("Fee") if (!txJSON.isMember("Fee")
&& ("OfferCreate" == txJSON["TransactionType"].asString() && (
"AccountSet" == txJSON["TransactionType"].asString()
|| "OfferCreate" == txJSON["TransactionType"].asString()
|| "OfferCancel" == txJSON["TransactionType"].asString() || "OfferCancel" == txJSON["TransactionType"].asString()
|| "TrustSet" == txJSON["TransactionType"].asString())) || "TrustSet" == txJSON["TransactionType"].asString()))
{ {