mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-12 01:55:48 +00:00
Make librustzcash_sapling_binding_sig take context as a const pointer.
This commit is contained in:
parent
41ca6e8473
commit
22486b8269
@ -112,7 +112,7 @@ extern "C" {
|
|||||||
/// signature. You must provide the intended valueBalance so that
|
/// signature. You must provide the intended valueBalance so that
|
||||||
/// we can internally check consistency.
|
/// we can internally check consistency.
|
||||||
bool librustzcash_sapling_binding_sig(
|
bool librustzcash_sapling_binding_sig(
|
||||||
void *ctx,
|
const void *ctx,
|
||||||
int64_t valueBalance,
|
int64_t valueBalance,
|
||||||
const unsigned char *sighash,
|
const unsigned char *sighash,
|
||||||
unsigned char *result
|
unsigned char *result
|
||||||
|
@ -1188,7 +1188,7 @@ pub extern "system" fn librustzcash_sapling_spend_sig(
|
|||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "system" fn librustzcash_sapling_binding_sig(
|
pub extern "system" fn librustzcash_sapling_binding_sig(
|
||||||
ctx: *mut SaplingProvingContext,
|
ctx: *const SaplingProvingContext,
|
||||||
value_balance: int64_t,
|
value_balance: int64_t,
|
||||||
sighash: *const [c_uchar; 32],
|
sighash: *const [c_uchar; 32],
|
||||||
result: *mut [c_uchar; 64],
|
result: *mut [c_uchar; 64],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user