Browse Source

Make librustzcash_sapling_binding_sig take context as a const pointer.

master
Sean Bowe 6 years ago
parent
commit
22486b8269
  1. 2
      include/librustzcash.h
  2. 2
      src/rustzcash.rs

2
include/librustzcash.h

@ -112,7 +112,7 @@ extern "C" {
/// signature. You must provide the intended valueBalance so that
/// we can internally check consistency.
bool librustzcash_sapling_binding_sig(
void *ctx,
const void *ctx,
int64_t valueBalance,
const unsigned char *sighash,
unsigned char *result

2
src/rustzcash.rs

@ -1188,7 +1188,7 @@ pub extern "system" fn librustzcash_sapling_spend_sig(
#[no_mangle]
pub extern "system" fn librustzcash_sapling_binding_sig(
ctx: *mut SaplingProvingContext,
ctx: *const SaplingProvingContext,
value_balance: int64_t,
sighash: *const [c_uchar; 32],
result: *mut [c_uchar; 64],

Loading…
Cancel
Save