Remove Superfluous Test in Crowdloan Migration (#5158)

* remove stupid check

* here too
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2022-03-18 15:06:45 +00:00
1 parent d76583cd3b
commit 4d3f6a202e
1 file changed
-2
@@ -53,7 +53,6 @@ pub mod crowdloan_index_migration {
total_balance >= fund.raised,
"Total balance is not equal to the funds raised."
);
ensure!(total_balance > Zero::zero(), "Total balance is equal to zero.");
}
Ok(())
@@ -122,7 +121,6 @@ pub mod crowdloan_index_migration {
total_balance >= fund.raised,
"Total balance in new account is different than the funds raised."
);
ensure!(total_balance > Zero::zero(), "Total balance in the account is zero.");
}
Ok(())