mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge pull request #212 from tdudz/remove-unused-amountvar
[trivial] remove unused variable "amount" in rawtransaction.cpp
This commit is contained in:
commit
4e77d7d222
1 changed files with 0 additions and 1 deletions
|
|
@ -190,7 +190,6 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry)
|
|||
out.push_back(Pair("assetcommitment", HexStr(asset.vchCommitment)));
|
||||
}
|
||||
|
||||
const CConfidentialValue& amount = txout.nValue;
|
||||
out.push_back(Pair("n", (int64_t)i));
|
||||
UniValue o(UniValue::VOBJ);
|
||||
ScriptPubKeyToJSON(txout.scriptPubKey, o, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue