Merge pull request #4927

6456cb41 Bulletproof: Initialize members in default construtor. (Tadeas Moravec)
This commit is contained in:
Riccardo Spagni 2018-12-12 12:01:31 +02:00
commit 6bc0c7e685
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -187,7 +187,8 @@ namespace rct {
rct::keyV L, R;
rct::key a, b, t;
Bulletproof() {}
Bulletproof():
A({}), S({}), T1({}), T2({}), taux({}), mu({}), a({}), b({}), t({}) {}
Bulletproof(const rct::key &V, const rct::key &A, const rct::key &S, const rct::key &T1, const rct::key &T2, const rct::key &taux, const rct::key &mu, const rct::keyV &L, const rct::keyV &R, const rct::key &a, const rct::key &b, const rct::key &t):
V({V}), A(A), S(S), T1(T1), T2(T2), taux(taux), mu(mu), L(L), R(R), a(a), b(b), t(t) {}
Bulletproof(const rct::keyV &V, const rct::key &A, const rct::key &S, const rct::key &T1, const rct::key &T2, const rct::key &taux, const rct::key &mu, const rct::keyV &L, const rct::keyV &R, const rct::key &a, const rct::key &b, const rct::key &t):