Skip to content

Commit f415357

Browse files
Duddinopanleone
authored andcommitted
Remove Sighash
1 parent 8df2bdb commit f415357

File tree

9 files changed

+83
-85
lines changed

9 files changed

+83
-85
lines changed

.cargo/config.offline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[source.crates-io]
22
replace-with = "vendored-sources"
33

4-
[source."git+https://github.com/PIVX-Project/librustzcash?rev=e7662b23d16c38595ef9ad1f3ae683b1f54dc732"]
4+
[source."git+https://github.com/PIVX-Project/librustzcash?rev=4822cf07b18d8726e9b3253a15f9e08d81752746"]
55
git = "https://github.com/PIVX-Project/librustzcash"
6-
rev = "e7662b23d16c38595ef9ad1f3ae683b1f54dc732"
6+
rev = "4822cf07b18d8726e9b3253a15f9e08d81752746"
77
replace-with = "vendored-sources"
88

99
[source.vendored-sources]

Cargo.lock

Lines changed: 52 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ byteorder = "1.4.3"
2929
group = "0.13"
3030
rand_core = "0.6.4"
3131
jubjub = "0.10.0"
32-
zcash_primitives = { git="https://github.com/PIVX-Project/librustzcash", rev="e7662b23d16c38595ef9ad1f3ae683b1f54dc732" }
33-
zcash_proofs = { git="https://github.com/PIVX-Project/librustzcash", rev="e7662b23d16c38595ef9ad1f3ae683b1f54dc732" }
32+
zcash_primitives = { git="https://github.com/PIVX-Project/librustzcash", rev="4822cf07b18d8726e9b3253a15f9e08d81752746" }
33+
zcash_proofs = { git="https://github.com/PIVX-Project/librustzcash", rev="4822cf07b18d8726e9b3253a15f9e08d81752746" }
3434
zcash_note_encryption = "0.3.0"
3535

src/primitives/block.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ class ShieldStakeProof
8383
CAmount amount;
8484
uint256 inputCv;
8585
uint256 rk;
86-
SpendDescription::spend_auth_sig_t spendSig;
8786
libzcash::GrothProof inputProof = {{0}};
8887

8988
uint256 outputCv;
@@ -96,7 +95,6 @@ class ShieldStakeProof
9695
{
9796
amount = 0;
9897
inputCv.SetNull();
99-
spendSig = {{0}};
10098
rk.SetNull();
10199
inputProof = {{0}};
102100
outputCv.SetNull();
@@ -110,7 +108,6 @@ class ShieldStakeProof
110108
READWRITE(obj.amount);
111109
READWRITE(obj.inputCv);
112110
READWRITE(obj.rk);
113-
READWRITE(obj.spendSig);
114111
READWRITE(obj.inputProof);
115112
READWRITE(obj.epk);
116113
READWRITE(obj.cmu);

src/rust/include/librustzcash.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#ifndef LIBRUSTZCASH_INCLUDE_H_
22
#define LIBRUSTZCASH_INCLUDE_H_
33

4+
#include <cstddef>
45
#include <stdint.h>
56

67
extern "C" {

0 commit comments

Comments
 (0)