From a8226da50d34d62848f0745714290985feca4486 Mon Sep 17 00:00:00 2001 From: Yeastplume Date: Wed, 14 Mar 2018 11:03:09 +0000 Subject: [PATCH] change to bulletproof interface to separate nonce from blind in unwind (#773) --- keychain/src/keychain.rs | 2 +- util/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keychain/src/keychain.rs b/keychain/src/keychain.rs index 9d41fef14..18aea28c9 100644 --- a/keychain/src/keychain.rs +++ b/keychain/src/keychain.rs @@ -285,7 +285,7 @@ impl Keychain { ) -> Result { let nonce = self.derived_key(key_id)?; let proof_message = self.secp - .unwind_bullet_proof(commit, nonce, extra_data, proof); + .unwind_bullet_proof(commit, nonce, nonce, extra_data, proof); let proof_info = match proof_message { Ok(p) => ProofInfo { success: true, diff --git a/util/Cargo.toml b/util/Cargo.toml index 20eda26d5..d81e69746 100644 --- a/util/Cargo.toml +++ b/util/Cargo.toml @@ -19,6 +19,6 @@ zip = "^0.2.6" [dependencies.secp256k1zkp] git = "https://github.com/mimblewimble/rust-secp256k1-zkp" -tag="grin_integration_14" +tag="grin_integration_15" #path = "../../rust-secp256k1-zkp" features=["bullet-proof-sizing"]