Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Remove unneeded vec
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Gunderson <[email protected]>
  • Loading branch information
agunde406 committed Jan 4, 2024
1 parent 9a121fb commit e0853ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/intkey_multiply/cli/src/multiply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e0853ee

Please sign in to comment.