git.delta.rocks / unique-network / refs/commits / 40e660fc7f24

difftreelog

Format

Greg Zaitsev2021-07-27parent: #5b3615f.patch.diff
in: master

2 files changed

modifiedCargo.lockdiffbeforeafterboth
before · Cargo.lock
957 packageslockfile v3
modifiedpallets/inflation/src/tests.rsdiffbeforeafterboth
--- a/pallets/inflation/src/tests.rs
+++ b/pallets/inflation/src/tests.rs
@@ -105,14 +105,11 @@
 		let _ = <Balances as Currency<_>>::deposit_creating(&1234, initial_issuance);
 		assert_eq!(Balances::free_balance(1234), initial_issuance);
 
-		// BlockInflation should be set after 1st block and
+		// BlockInflation should be set after 1st block and 
 		// first inflation deposit should be equal to BlockInflation
 		Inflation::on_initialize(1);
 		assert!(Inflation::block_inflation() > 0);
-		assert_eq!(
-			Balances::free_balance(1234) - initial_issuance,
-			Inflation::block_inflation()
-		);
+		assert_eq!(Balances::free_balance(1234) - initial_issuance, Inflation::block_inflation());
 	});
 }