Remove Superfluous Test in Crowdloan Migration (#5158)

* remove stupid check

* here too
This commit is contained in:
Shawn Tabrizi
2022-03-18 11:06:45 -04:00
committed by GitHub
parent d76583cd3b
commit 4d3f6a202e
@@ -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(())