mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
feat: support Concise Transaction Identifier (CTID) (XLS-37) (#4418)
* add CTIM to tx rpc --------- Co-authored-by: Rome Reginelli <mduo13@gmail.com> Co-authored-by: Elliot Lee <github.public@intelliot.com> Co-authored-by: Denis Angell <dangell@transia.co>
This commit is contained in:
@@ -415,6 +415,11 @@ Env::autofill(JTx& jt)
|
||||
jtx::fill_fee(jv, *current());
|
||||
if (jt.fill_seq)
|
||||
jtx::fill_seq(jv, *current());
|
||||
|
||||
uint32_t networkID = app().config().NETWORK_ID;
|
||||
if (!jv.isMember(jss::NetworkID) && networkID > 1024)
|
||||
jv[jss::NetworkID] = std::to_string(networkID);
|
||||
|
||||
// Must come last
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user