switched to single spend authority proof - the dummy proofs don't work as intended, so dropping them

This commit is contained in:
Some Random Crypto Guy
2024-12-16 09:16:34 +00:00
parent 7d2025bc19
commit dd23331df9
6 changed files with 44 additions and 89 deletions
+2 -2
View File
@@ -1175,7 +1175,7 @@ void toJsonValue(rapidjson::Writer<epee::byte_stream>& dest, const rct::rctSig&
INSERT_INTO_JSON_OBJECT(dest, p_r, sig.p_r);
if (sig.type == rct::RCTTypeFullProofs) {
INSERT_INTO_JSON_OBJECT(dest, pr_proof, sig.pr_proof);
INSERT_INTO_JSON_OBJECT(dest, sa_proofs, sig.sa_proofs);
INSERT_INTO_JSON_OBJECT(dest, sa_proof, sig.sa_proof);
}
}
@@ -1216,7 +1216,7 @@ void fromJsonValue(const rapidjson::Value& val, rct::rctSig& sig)
GET_FROM_JSON_OBJECT(val, sig.p_r, p_r);
if (sig.type == rct::RCTTypeFullProofs) {
GET_FROM_JSON_OBJECT(val, sig.pr_proof, pr_proof);
GET_FROM_JSON_OBJECT(val, sig.sa_proofs, sa_proofs);
GET_FROM_JSON_OBJECT(val, sig.sa_proof, sa_proof);
}
}