diff --git a/Cargo.lock b/Cargo.lock index 6a7246a..89b3e9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -763,7 +763,7 @@ dependencies = [ [[package]] name = "equihash" version = "0.2.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "blake2b_simd", "byteorder", @@ -798,7 +798,7 @@ dependencies = [ [[package]] name = "f4jumble" version = "0.1.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "blake2b_simd", ] @@ -3243,7 +3243,7 @@ dependencies = [ [[package]] name = "zcash_address" version = "0.3.2" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "bech32", "bs58", @@ -3255,7 +3255,7 @@ dependencies = [ [[package]] name = "zcash_client_backend" version = "0.12.1" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "base64", "bech32", @@ -3294,7 +3294,7 @@ dependencies = [ [[package]] name = "zcash_encoding" version = "0.2.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "byteorder", "nonempty", @@ -3303,7 +3303,7 @@ dependencies = [ [[package]] name = "zcash_keys" version = "0.2.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "bech32", "blake2b_simd", @@ -3340,7 +3340,7 @@ dependencies = [ [[package]] name = "zcash_primitives" version = "0.15.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "aes", "bip0039", @@ -3378,7 +3378,7 @@ dependencies = [ [[package]] name = "zcash_proofs" version = "0.15.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "bellman", "blake2b_simd", @@ -3400,7 +3400,7 @@ dependencies = [ [[package]] name = "zcash_protocol" version = "0.1.1" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "document-features", "memuse", @@ -3545,7 +3545,7 @@ dependencies = [ [[package]] name = "zip321" version = "0.0.0" -source = "git+https://github.com/QED-it/librustzcash?branch=zsa1#bb65c0503ed65df794222a4eff50f0e643464a3d" +source = "git+https://github.com/QED-it/librustzcash?branch=first-issuance#7401cd8b66a5ef15076db030489c66647f78b2d4" dependencies = [ "base64", "nom", diff --git a/src/commands/test_orchard_zsa.rs b/src/commands/test_orchard_zsa.rs index 0cc24ea..8092d57 100644 --- a/src/commands/test_orchard_zsa.rs +++ b/src/commands/test_orchard_zsa.rs @@ -38,7 +38,7 @@ impl Runnable for TestOrchardZSACmd { // --------------------- Issue asset --------------------- let issue_tx = - create_issue_transaction(issuer, 1000, asset_description.clone(), &mut wallet); + create_issue_transaction(issuer, 1000, asset_description.clone(), true, &mut wallet); let asset = issue_tx .issue_bundle() diff --git a/src/components/transactions.rs b/src/components/transactions.rs index a895053..414acd8 100644 --- a/src/components/transactions.rs +++ b/src/components/transactions.rs @@ -267,6 +267,7 @@ pub fn create_issue_transaction( recipient: Address, amount: u64, asset_desc: Vec, + first_issuance: bool, wallet: &mut User, ) -> Transaction { info!("Issue {} asset", amount); @@ -278,6 +279,7 @@ pub fn create_issue_transaction( recipient, value: NoteValue::from_raw(amount), }), + first_issuance, ) .unwrap(); build_tx(tx)