From 73f7f4841b88dc05481fe49ff4fffed8e7b9ab35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Mon, 27 Jun 2022 10:33:10 +0200 Subject: [PATCH] chore(ci): fix `cargo fmt` (#350) --- .../stardust/block/payload/milestone/mod.rs | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/src/types/stardust/block/payload/milestone/mod.rs b/src/types/stardust/block/payload/milestone/mod.rs index 213e0c039..35e427dd6 100644 --- a/src/types/stardust/block/payload/milestone/mod.rs +++ b/src/types/stardust/block/payload/milestone/mod.rs @@ -292,25 +292,23 @@ pub(crate) mod test { bee_test::rand::milestone::rand_merkle_root(), bee_test::rand::milestone::rand_merkle_root(), "Foo".as_bytes().to_vec(), - bee::MilestoneOptions::new(vec![ - bee::option::MilestoneOption::Receipt( - bee::option::ReceiptMilestoneOption::new( - 1.into(), - false, - vec![ - get_test_ed25519_migrated_funds_entry().try_into().unwrap(), - get_test_alias_migrated_funds_entry().try_into().unwrap(), - get_test_nft_migrated_funds_entry().try_into().unwrap(), - ], - TreasuryTransactionPayload::new( - bee_test::rand::input::rand_treasury_input(), - bee_test::rand::output::rand_treasury_output(), - ) - .unwrap(), + bee::MilestoneOptions::new(vec![bee::option::MilestoneOption::Receipt( + bee::option::ReceiptMilestoneOption::new( + 1.into(), + false, + vec![ + get_test_ed25519_migrated_funds_entry().try_into().unwrap(), + get_test_alias_migrated_funds_entry().try_into().unwrap(), + get_test_nft_migrated_funds_entry().try_into().unwrap(), + ], + TreasuryTransactionPayload::new( + bee_test::rand::input::rand_treasury_input(), + bee_test::rand::output::rand_treasury_output(), ) .unwrap(), - ), - ]) + ) + .unwrap(), + )]) .unwrap(), ) .unwrap(),