mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
CT/CA: Unify CTxOutAsset and CTxOutValue into a single templated abstract base class
This commit is contained in:
parent
9ebe6371a1
commit
a2c0f11f8e
21 changed files with 163 additions and 234 deletions
|
|
@ -177,7 +177,7 @@ bool CachingSurjectionProofChecker::VerifySurjectionProof(secp256k1_surjectionpr
|
|||
secp256k1_surjectionproof_serialize(secp256k1_ctx_verify_amounts, &vchproof[0], &proof_len, &proof);
|
||||
|
||||
std::vector<unsigned char> vchGen;
|
||||
vchGen.resize(CTxOutValue::nCommittedSize);
|
||||
vchGen.resize(CConfidentialValue::nCommittedSize);
|
||||
secp256k1_generator_serialize(secp256k1_ctx_verify_amounts, &vchGen[0], &gen);
|
||||
|
||||
CPubKey pubkey(vchGen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue