Skip to content
Snippets Groups Projects
Commit 4d3f6a20 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Remove Superfluous Test in Crowdloan Migration (#5158)

* remove stupid check

* here too
parent d76583cd
Branches
No related merge requests found
......@@ -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(())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment