change to bulletproof interface to separate nonce from blind in unwind (#773)

This commit is contained in:
Yeastplume 2018-03-14 11:03:09 +00:00 committed by GitHub
parent 65633c7611
commit a8226da50d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -285,7 +285,7 @@ impl Keychain {
) -> Result<ProofInfo, Error> { ) -> Result<ProofInfo, Error> {
let nonce = self.derived_key(key_id)?; let nonce = self.derived_key(key_id)?;
let proof_message = self.secp 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 { let proof_info = match proof_message {
Ok(p) => ProofInfo { Ok(p) => ProofInfo {
success: true, success: true,

View file

@ -19,6 +19,6 @@ zip = "^0.2.6"
[dependencies.secp256k1zkp] [dependencies.secp256k1zkp]
git = "https://github.com/mimblewimble/rust-secp256k1-zkp" git = "https://github.com/mimblewimble/rust-secp256k1-zkp"
tag="grin_integration_14" tag="grin_integration_15"
#path = "../../rust-secp256k1-zkp" #path = "../../rust-secp256k1-zkp"
features=["bullet-proof-sizing"] features=["bullet-proof-sizing"]