Skip to content

Commit b1a9c40

Browse files
Fix fmt
1 parent ffee2b7 commit b1a9c40

File tree

1 file changed

+8
-2
lines changed
  • pallets/transaction-storage/src

1 file changed

+8
-2
lines changed

pallets/transaction-storage/src/lib.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,16 @@ pub mod pallet {
300300
!T::MaxBlockTransactions::get().is_zero(),
301301
"MaxTransactionSize must be greater than zero"
302302
);
303-
assert!(!T::MaxTransactionSize::get().is_zero(), "MaxTransactionSize must be greater than zero");
303+
assert!(
304+
!T::MaxTransactionSize::get().is_zero(),
305+
"MaxTransactionSize must be greater than zero"
306+
);
304307
let default_period = sp_transaction_storage_proof::DEFAULT_STORAGE_PERIOD.into();
305308
let storage_period = GenesisConfig::<T>::default().storage_period;
306-
assert_eq!(storage_period, default_period, "GenesisConfig.storage_period must match DEFAULT_STORAGE_PERIOD");
309+
assert_eq!(
310+
storage_period, default_period,
311+
"GenesisConfig.storage_period must match DEFAULT_STORAGE_PERIOD"
312+
);
307313
assert!(
308314
!T::AuthorizationPeriod::get().is_zero(),
309315
"AuthorizationPeriod must be greater than zero"

0 commit comments

Comments
 (0)