diff --git a/src/crypto/range_proofs.h b/src/crypto/range_proofs.h index 4e25ed79..1b77cfde 100644 --- a/src/crypto/range_proofs.h +++ b/src/crypto/range_proofs.h @@ -131,7 +131,7 @@ namespace crypto }; // struct bpp_crypto_trait_zano template - const point_t& bpp_crypto_trait_zano::bpp_G = c_point_H; + const point_t& bpp_crypto_trait_zano::bpp_G = c_point_U; template const point_t& bpp_crypto_trait_zano::bpp_H = c_point_G; @@ -139,6 +139,7 @@ namespace crypto template const point_t& bpp_crypto_trait_zano::bpp_H2 = c_point_X; + // efficient multiexponentiation (naive stub implementation atm, TODO) template diff --git a/src/currency_core/blockchain_storage.cpp b/src/currency_core/blockchain_storage.cpp index 4ef4b1e9..1e565526 100644 --- a/src/currency_core/blockchain_storage.cpp +++ b/src/currency_core/blockchain_storage.cpp @@ -4961,7 +4961,7 @@ bool blockchain_storage::check_tx_input(const transaction& tx, size_t in_index, //TIME_MEASURE_START_PD(tx_input_check_clsag_gg); - bool r = crypto::verify_CLSAG_GG(tx_hash_for_signature, ring, sig.pseudo_out_amount_commitment, zc_in.k_image, sig.clsags_gg); + bool r = crypto::verify_CLSAG_GG(tx_hash_for_signature, ring, sig.pseudo_out_amount_commitment, zc_in.k_image, sig.); CHECK_AND_ASSERT_MES(r, false, "verify_CLSAG_GG failed"); //TIME_MEASURE_FINISH_PD(tx_input_check_clsag_gg);