mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-14 10:55:47 +00:00
Updated params when calling builder.add_transparent_output_with_script_pubkey()
This commit is contained in:
parent
ef662dd7c9
commit
d5637b76f2
@ -48,33 +48,33 @@ reqwest = { version = "0.10.8", features = ["blocking", "json"] }
|
||||
|
||||
[dependencies.bellman]
|
||||
git = "https://github.com/CalDescent1/librustzcash.git"
|
||||
rev = "d5fa83313a9cca6c7c14572feac2b9c8e05d0805"
|
||||
rev = "3bc31b9cceaef79865f3a4c85e31f76b9755e15c"
|
||||
default-features = false
|
||||
features = ["groth16", "multicore"]
|
||||
|
||||
[dependencies.pairing]
|
||||
git = "https://github.com/CalDescent1/librustzcash.git"
|
||||
rev = "d5fa83313a9cca6c7c14572feac2b9c8e05d0805"
|
||||
rev = "3bc31b9cceaef79865f3a4c85e31f76b9755e15c"
|
||||
|
||||
[dependencies.zcash_client_backend]
|
||||
git = "https://github.com/CalDescent1/librustzcash.git"
|
||||
rev = "d5fa83313a9cca6c7c14572feac2b9c8e05d0805"
|
||||
rev = "3bc31b9cceaef79865f3a4c85e31f76b9755e15c"
|
||||
default-features = false
|
||||
|
||||
[dependencies.zcash_primitives]
|
||||
git = "https://github.com/CalDescent1/librustzcash.git"
|
||||
rev = "d5fa83313a9cca6c7c14572feac2b9c8e05d0805"
|
||||
rev = "3bc31b9cceaef79865f3a4c85e31f76b9755e15c"
|
||||
default-features = false
|
||||
features = ["transparent-inputs"]
|
||||
|
||||
[dependencies.zcash_proofs]
|
||||
git = "https://github.com/CalDescent1/librustzcash.git"
|
||||
rev = "d5fa83313a9cca6c7c14572feac2b9c8e05d0805"
|
||||
rev = "3bc31b9cceaef79865f3a4c85e31f76b9755e15c"
|
||||
default-features = false
|
||||
|
||||
[dependencies.ff]
|
||||
git = "https://github.com/CalDescent1/librustzcash.git"
|
||||
rev = "d5fa83313a9cca6c7c14572feac2b9c8e05d0805"
|
||||
rev = "3bc31b9cceaef79865f3a4c85e31f76b9755e15c"
|
||||
features = ["ff_derive"]
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -2673,9 +2673,8 @@ impl LightWallet {
|
||||
|
||||
// Add redeem script output
|
||||
if let Err(e) = builder.add_transparent_output_with_script_pubkey(
|
||||
&TransparentAddress::PublicKey([0; 20]),
|
||||
Amount::from_u64(0).unwrap(),
|
||||
Script { 0: redeem_script_pubkey.to_vec() }
|
||||
Script { 0: redeem_script_pubkey.to_vec() },
|
||||
Amount::from_u64(0).unwrap()
|
||||
) {
|
||||
let e = format!("Error adding redeem script output: {:?}", e);
|
||||
error!("{}", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user