mirror of
https://codeberg.org/nahuhh/wownero
synced 2026-11-21 13:14:18 +01:00
rct: avoid the need for the last II element
This element is used in the generation of the MLSAG, but isn't needed in verification. Also misc changes in the cryptonote code to match, by mooo.
This commit is contained in:
+1
-10
@@ -148,16 +148,7 @@ namespace rct {
|
||||
BEGIN_SERIALIZE_OBJECT()
|
||||
FIELD(ss)
|
||||
FIELD(cc)
|
||||
if (II.size() == 0) {
|
||||
// loading
|
||||
FIELD(II)
|
||||
}
|
||||
else {
|
||||
// saving
|
||||
keyV II;
|
||||
II.push_back(this->II.back());
|
||||
FIELD(II)
|
||||
}
|
||||
// FIELD(II) - not serialized, it can be reconstructed
|
||||
END_SERIALIZE()
|
||||
};
|
||||
//contains the data for an asnl sig
|
||||
|
||||
Reference in New Issue
Block a user