aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctSigs.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-05 10:10:57 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-05 10:10:57 +0200
commit5fb4a9719cb799ae59e04cda0a3d760be969d7e8 (patch)
tree8a7361e525f9e7e45bb04e4f252fd9a1c430d0a7 /src/ringct/rctSigs.cpp
parentMerge pull request #5162 (diff)
parentcheck load_t_from_json return values (diff)
downloadmonero-5fb4a9719cb799ae59e04cda0a3d760be969d7e8.tar.xz
Merge pull request #5101
23abe607 check load_t_from_json return values (moneromooo-monero) e396146a default initialize rpc structures (moneromooo-monero) ef93b099 various: remove unused variables (moneromooo-monero)
Diffstat (limited to 'src/ringct/rctSigs.cpp')
-rw-r--r--src/ringct/rctSigs.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp
index 81bec487c..25571238e 100644
--- a/src/ringct/rctSigs.cpp
+++ b/src/ringct/rctSigs.cpp
@@ -469,7 +469,6 @@ namespace rct {
//Ver:
// verifies the above sig is created corretly
mgSig proveRctMG(const key &message, const ctkeyM & pubs, const ctkeyV & inSk, const ctkeyV &outSk, const ctkeyV & outPk, const multisig_kLRki *kLRki, key *mscout, unsigned int index, const key &txnFeeKey, hw::device &hwdev) {
- mgSig mg;
//setup vars
size_t cols = pubs.size();
CHECK_AND_ASSERT_THROW_MES(cols >= 1, "Empty pubs");
@@ -527,7 +526,6 @@ namespace rct {
// a_out, Cout is for the output commitment
// index is the signing index..
mgSig proveRctMGSimple(const key &message, const ctkeyV & pubs, const ctkey & inSk, const key &a , const key &Cout, const multisig_kLRki *kLRki, key *mscout, unsigned int index, hw::device &hwdev) {
- mgSig mg;
//setup vars
size_t rows = 1;
size_t cols = pubs.size();
@@ -793,7 +791,6 @@ namespace rct {
rv.p.bulletproofs.clear();
if (bulletproof)
{
- std::vector<uint64_t> proof_amounts;
size_t n_amounts = outamounts.size();
size_t amounts_proved = 0;
if (rct_config.range_proof_type == RangeProofPaddedBulletproof)