mirror of
https://github.com/wownero/wownero.git
synced 2026-11-12 19:33:54 +01:00
crypto: reduce crypto.h header weight
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2014-2024, The Monero Project
|
||||
// Copyright (c) 2014-2026, The Monero Project
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
@@ -113,7 +113,7 @@ bool test_transaction_generation_and_ring_signature()
|
||||
output_keys.push_back(&boost::get<txout_to_key>(tx_mine_4.vout[0].target).key);
|
||||
output_keys.push_back(&boost::get<txout_to_key>(tx_mine_5.vout[0].target).key);
|
||||
output_keys.push_back(&boost::get<txout_to_key>(tx_mine_6.vout[0].target).key);
|
||||
r = crypto::check_ring_signature(pref_hash, boost::get<txin_to_key>(tx_rc1.vin[0]).k_image, output_keys, &tx_rc1.signatures[0][0]);
|
||||
r = crypto::check_ring_signature(pref_hash, boost::get<txin_to_key>(tx_rc1.vin[0]).k_image, output_keys.data(), output_keys.size(), &tx_rc1.signatures[0][0]);
|
||||
CHECK_AND_ASSERT_MES(r, false, "failed to check ring signature");
|
||||
|
||||
std::vector<size_t> outs;
|
||||
|
||||
Reference in New Issue
Block a user