mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
compile: clean up warnings for unused
This commit is contained in:
parent
72cac1605e
commit
f3ccfc53ba
2 changed files with 0 additions and 4 deletions
|
|
@ -1359,7 +1359,6 @@ static CTransactionRef SendGenerationTransaction(const CScript& asset_script, co
|
|||
vecSend.push_back(recipient);
|
||||
}
|
||||
|
||||
CAmount nFeeRequired;
|
||||
constexpr int RANDOM_CHANGE_POSITION = -1;
|
||||
bilingual_str error;
|
||||
FeeCalculation fee_calc_out;
|
||||
|
|
@ -1370,7 +1369,6 @@ static CTransactionRef SendGenerationTransaction(const CScript& asset_script, co
|
|||
if (!txr) {
|
||||
throw JSONRPCError(RPC_WALLET_ERROR, error.original);
|
||||
}
|
||||
nFeeRequired = (*txr).fee;
|
||||
|
||||
mapValue_t map_value;
|
||||
pwallet->CommitTransaction((*txr).tx, std::move(map_value), {} /* orderForm */, &blind_details);
|
||||
|
|
|
|||
|
|
@ -327,8 +327,6 @@ CoinsResult AvailableCoins(const CWallet& wallet,
|
|||
|
||||
CAmount outValue = wtx.GetOutputValueOut(wallet, i);
|
||||
CAsset asset = wtx.GetOutputAsset(wallet, i);
|
||||
uint256 bfValue = wtx.GetOutputAmountBlindingFactor(wallet, i);
|
||||
uint256 bfAsset = wtx.GetOutputAssetBlindingFactor(wallet, i);
|
||||
if (asset_filter && asset != *asset_filter) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue