mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Explicit fee outputs: remove extra vData
This commit is contained in:
parent
fcfcfa7d09
commit
cc49c12e0a
1 changed files with 1 additions and 1 deletions
|
|
@ -662,7 +662,7 @@ bool VerifyAmounts(const CCoinsViewCache& cache, const CTransaction& tx, std::ve
|
|||
std::vector<secp256k1_pedersen_commitment> vData;
|
||||
std::vector<secp256k1_pedersen_commitment *> vpCommitsIn, vpCommitsOut;
|
||||
|
||||
vData.resize((tx.vin.size() + tx.vout.size() + 1)); // 1 for fee
|
||||
vData.resize((tx.vin.size() + tx.vout.size())); // 1 for fee
|
||||
secp256k1_pedersen_commitment *p = &vData[0];
|
||||
secp256k1_pedersen_commitment commit;
|
||||
secp256k1_generator gen;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue