mirror of
https://github.com/Xahau/xahaud.git
synced 2026-08-22 16:00:57 +00:00
Get names of transactions and ledger types from jss
This commit is contained in:
committed by
Manoj doshi
parent
be139d9bde
commit
b39b0fef39
@@ -30,7 +30,7 @@ regkey (Account const& account,
|
||||
{
|
||||
Json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
jv[jss::TransactionType] = "SetRegularKey";
|
||||
jv[jss::TransactionType] = jss::SetRegularKey;
|
||||
return jv;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ regkey (Account const& account,
|
||||
Json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
jv["RegularKey"] = to_string(signer.id());
|
||||
jv[jss::TransactionType] = "SetRegularKey";
|
||||
jv[jss::TransactionType] = jss::SetRegularKey;
|
||||
return jv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user