mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge pull request #146 from instagibbs/removeextrablinderinfo
remove extraneous blinder returns for WalletTxToJSON
This commit is contained in:
commit
3dfbd20864
1 changed files with 0 additions and 8 deletions
|
|
@ -143,14 +143,6 @@ void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry)
|
|||
rbfStatus = "yes";
|
||||
}
|
||||
entry.push_back(Pair("bip125-replaceable", rbfStatus));
|
||||
|
||||
// TODO(kalle, 2017-02-23): should move this somewhere else as it is not clear which blinding factors refer
|
||||
// TODO(kalle, 2017-02-23): to which outputs, especially for gettransaction; some (e.g. fee and change) are
|
||||
// TODO(kalle, 2017-02-23): not listed in the output at all so don't really help the user in any way.
|
||||
std::string blindfactors;
|
||||
for (unsigned int i=0; i<wtx.vout.size(); i++)
|
||||
blindfactors += wtx.GetOutputBlindingFactor(i).GetHex() + ":";
|
||||
entry.push_back(Pair("blindingfactors", blindfactors));
|
||||
}
|
||||
|
||||
string AccountFromValue(const UniValue& value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue