File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
pallets/transaction-storage/src Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments