mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
Add "flags" to account_offers output.
This commit is contained in:
@@ -1131,6 +1131,7 @@ static void offerAdder(Json::Value& jvLines, SLE::ref offer)
|
|||||||
offer->getFieldAmount(sfTakerPays).setJson(obj["taker_pays"]);
|
offer->getFieldAmount(sfTakerPays).setJson(obj["taker_pays"]);
|
||||||
offer->getFieldAmount(sfTakerGets).setJson(obj["taker_gets"]);
|
offer->getFieldAmount(sfTakerGets).setJson(obj["taker_gets"]);
|
||||||
obj["seq"] = offer->getFieldU32(sfSequence);
|
obj["seq"] = offer->getFieldU32(sfSequence);
|
||||||
|
obj["flags"] = offer->getFieldU32(sfFlags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user