From 44c8f9e22dad35d7bac6b6c37e482053052e2ba9 Mon Sep 17 00:00:00 2001 From: AntiochP <30642645+antiochp@users.noreply.github.com> Date: Wed, 13 Sep 2017 16:00:48 -0400 Subject: [PATCH] fix the range_proof call (missing nonce param) (#125) --- pool/src/pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/src/pool.rs b/pool/src/pool.rs index e5927ce96..254d74770 100644 --- a/pool/src/pool.rs +++ b/pool/src/pool.rs @@ -970,7 +970,7 @@ mod tests { transaction::Output{ features: transaction::COINBASE_OUTPUT, commit: output_commitment, - proof: ec.range_proof(0, value, output_key, output_commitment)} + proof: ec.range_proof(0, value, output_key, output_commitment, ec.nonce())} } /// Makes a SecretKey from a single u64