placeholder checkin because of so many changes having been made - let's use github as a backup site
This commit is contained in:
@@ -161,16 +161,15 @@ public:
|
||||
|
||||
bool test()
|
||||
{
|
||||
std::vector<const rct::rctSig*> rvv;
|
||||
rvv.reserve(m_txes.size());
|
||||
for (size_t n = 0; n < m_txes.size(); ++n)
|
||||
{
|
||||
const rct::rctSig &rv = m_txes[n].rct_signatures;
|
||||
if (!rct::verRctNonSemanticsSimple(rv))
|
||||
return false;
|
||||
rvv.push_back(&rv);
|
||||
if (!rct::verRctSemanticsSimple(rv))
|
||||
return false;
|
||||
}
|
||||
return rct::verRctSemanticsSimple(rvv);
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@@ -1288,7 +1288,6 @@ TEST(ringct, aggregated)
|
||||
static const uint64_t outputs[] = {500, 1500};
|
||||
s[n] = make_sample_simple_rct_sig(NELTS(inputs), inputs, NELTS(outputs), outputs, 0);
|
||||
sp[n] = &s[n];
|
||||
ASSERT_TRUE(verRctSemanticsSimple(s[n]));
|
||||
}
|
||||
|
||||
ASSERT_TRUE(verRctSemanticsSimple(sp));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user