update to rebased version of note-spending-v7 (#157)
* update to rebased version * update librustzcash. add OvkPolicy::Sender to retain behavior
This commit is contained in:
parent
74dfc38ace
commit
4dec60cfc9
File diff suppressed because it is too large
Load Diff
31
Cargo.toml
31
Cargo.toml
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "libzcashlc"
|
||||
version = "0.0.3"
|
||||
version = "0.0.4"
|
||||
authors = ["Jack Grigg <jack@z.cash>",
|
||||
"Francisco Gindre <francisco@z.cash>",
|
||||
]
|
||||
|
@ -13,28 +13,33 @@ ffi_helpers = "0.1"
|
|||
hex = "0.3"
|
||||
|
||||
[dependencies.ff]
|
||||
git = "https://github.com/str4d/librustzcash.git"
|
||||
rev = "c72d374e28bea0c249a898f2c470ed3d58773d0c"
|
||||
git = "https://github.com/zcash/librustzcash.git"
|
||||
rev = "f55f094ef69c2caeaa941bcf851dac8cb5fa9942"
|
||||
|
||||
|
||||
[dependencies.pairing]
|
||||
git = "https://github.com/str4d/librustzcash.git"
|
||||
rev = "c72d374e28bea0c249a898f2c470ed3d58773d0c"
|
||||
git = "https://github.com/zcash/librustzcash.git"
|
||||
rev = "f55f094ef69c2caeaa941bcf851dac8cb5fa9942"
|
||||
|
||||
|
||||
[dependencies.zcash_client_backend]
|
||||
git = "https://github.com/str4d/librustzcash.git"
|
||||
rev = "c72d374e28bea0c249a898f2c470ed3d58773d0c"
|
||||
git = "https://github.com/zcash/librustzcash.git"
|
||||
rev = "f55f094ef69c2caeaa941bcf851dac8cb5fa9942"
|
||||
|
||||
|
||||
[dependencies.zcash_client_sqlite]
|
||||
git = "https://github.com/str4d/librustzcash.git"
|
||||
rev = "c72d374e28bea0c249a898f2c470ed3d58773d0c"
|
||||
git = "https://github.com/zcash/librustzcash.git"
|
||||
rev = "f55f094ef69c2caeaa941bcf851dac8cb5fa9942"
|
||||
|
||||
[dependencies.zcash_primitives]
|
||||
git = "https://github.com/str4d/librustzcash.git"
|
||||
rev = "c72d374e28bea0c249a898f2c470ed3d58773d0c"
|
||||
git = "https://github.com/zcash/librustzcash.git"
|
||||
rev = "f55f094ef69c2caeaa941bcf851dac8cb5fa9942"
|
||||
|
||||
|
||||
[dependencies.zcash_proofs]
|
||||
git = "https://github.com/str4d/librustzcash.git"
|
||||
rev = "c72d374e28bea0c249a898f2c470ed3d58773d0c"
|
||||
git = "https://github.com/zcash/librustzcash.git"
|
||||
rev = "f55f094ef69c2caeaa941bcf851dac8cb5fa9942"
|
||||
|
||||
default-features = false
|
||||
features = ["local-prover"]
|
||||
|
||||
|
|
|
@ -23,7 +23,8 @@ use zcash_client_sqlite::{
|
|||
get_verified_balance,
|
||||
},
|
||||
scan::{decrypt_and_store_transaction, scan_cached_blocks},
|
||||
transact::create_to_address,
|
||||
transact::{create_to_address, OvkPolicy}
|
||||
|
||||
};
|
||||
use zcash_primitives::{
|
||||
block::BlockHash,
|
||||
|
@ -670,6 +671,7 @@ pub extern "C" fn zcashlc_create_to_address(
|
|||
&to,
|
||||
value,
|
||||
Some(memo),
|
||||
OvkPolicy::Sender
|
||||
)
|
||||
.map_err(|e| format_err!("Error while sending funds: {}", e))
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue