compile: clean up warnings for unused

This commit is contained in:
Byron Hambly 2024-12-20 11:46:24 +02:00
parent 72cac1605e
commit f3ccfc53ba
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
2 changed files with 0 additions and 4 deletions

View file

@ -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);

View file

@ -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;
}