mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
Add "flags" to account_offers output.
This commit is contained in:
@@ -1133,6 +1133,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