mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
More compact and pretty printing of blindingdata in ListTransactions
This commit is contained in:
parent
cf158f0185
commit
02a4f831ac
1 changed files with 4 additions and 3 deletions
|
|
@ -102,9 +102,10 @@ void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry)
|
|||
rbfStatus = "yes";
|
||||
}
|
||||
entry.push_back(Pair("bip125-replaceable", rbfStatus));
|
||||
|
||||
BOOST_FOREACH(const PAIRTYPE(string,string)& item, wtx.mapValue)
|
||||
entry.push_back(Pair(item.first, item.second));
|
||||
std::string blindfactors;
|
||||
for (unsigned int i=0; i<wtx.tx->vout.size(); i++)
|
||||
blindfactors += wtx.GetBlindingFactor(i).GetHex() + ":";
|
||||
entry.push_back(Pair("blindingfactors", blindfactors));
|
||||
}
|
||||
|
||||
string AccountFromValue(const UniValue& value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue