mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
change to bulletproof interface to separate nonce from blind in unwind (#773)
This commit is contained in:
parent
65633c7611
commit
a8226da50d
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue