From e0853ee5f7232a4a8d3e15d09e4550893985fcd7 Mon Sep 17 00:00:00 2001 From: Andrea Gunderson Date: Fri, 29 Sep 2023 08:05:04 -0500 Subject: [PATCH] Remove unneeded vec Signed-off-by: Andrea Gunderson --- example/intkey_multiply/cli/src/multiply.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/intkey_multiply/cli/src/multiply.rs b/example/intkey_multiply/cli/src/multiply.rs index 5da77c1f..c7f25dd4 100644 --- a/example/intkey_multiply/cli/src/multiply.rs +++ b/example/intkey_multiply/cli/src/multiply.rs @@ -34,7 +34,7 @@ pub fn do_multiply( let public_key = context.get_public_key(&private_key)?.as_hex(); let factory = signing::CryptoFactory::new(&*context); let signer = factory.new_signer(&private_key); - let payload = vec![name_a, name_b, name_c].join(","); + let payload = [name_a, name_b, name_c].join(","); let txn_payload = payload.as_bytes(); if output.is_empty() {