Skip to content

Commit

Permalink
Use .to_vec() for some test vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
dconnolly committed Nov 12, 2021
1 parent e09b361 commit 6e2e70b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ lazy_static! {
ORCHARD_SHIELDED_DATA_3_BYTES.as_ref(),
ORCHARD_SHIELDED_DATA_4_BYTES.as_ref(),
]
.iter()
.cloned()
.collect();
.to_vec();
pub static ref ORCHARD_SHIELDED_DATA_1_BYTES: Vec<u8> =
<Vec<u8>>::from_hex(include_str!("orchard-shielded-data-1.txt").trim())
.expect("Orchard shielded data bytes are in valid hex representation");
Expand Down

0 comments on commit 6e2e70b

Please sign in to comment.