Updated params when calling builder.add_transparent_output_with_script_pubkey()

This commit is contained in:
CalDescent 2022-05-15 11:23:56 +01:00
parent ef662dd7c9
commit d5637b76f2
2 changed files with 8 additions and 9 deletions

View File

@ -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]

View File

@ -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);