mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
rct: early out on failure on verRange
This commit is contained in:
parent
45349b6f7c
commit
94fd881f74
@ -338,9 +338,11 @@ namespace rct {
|
||||
subKeys(CiH[i], as.Ci[i], H2[i]);
|
||||
addKeys(Ctmp, Ctmp, as.Ci[i]);
|
||||
}
|
||||
bool reb = equalKeys(C, Ctmp);
|
||||
bool rab = VerASNL(as.Ci, CiH, as.asig);
|
||||
return (reb && rab);
|
||||
if (!equalKeys(C, Ctmp))
|
||||
return false;
|
||||
if (!VerASNL(as.Ci, CiH, as.asig))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
key get_pre_mlsag_hash(const rctSig &rv)
|
||||
|
Loading…
Reference in New Issue
Block a user