mirror of
https://github.com/monero-project/monero.git
synced 2026-01-09 19:55:20 -08:00
ringct: prevent use of full ringct signatures for more than one input
This commit is contained in:
@@ -695,6 +695,7 @@ namespace rct {
|
||||
CHECK_AND_ASSERT_THROW_MES(mixRing[n].size() == inSk.size(), "Bad mixRing size");
|
||||
}
|
||||
CHECK_AND_ASSERT_THROW_MES((kLRki && msout) || (!kLRki && !msout), "Only one of kLRki/msout is present");
|
||||
CHECK_AND_ASSERT_THROW_MES(inSk.size() < 2, "genRct is not suitable for 2+ rings");
|
||||
|
||||
rctSig rv;
|
||||
rv.type = RCTTypeFull;
|
||||
|
||||
Reference in New Issue
Block a user