mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Remove Superfluous Test in Crowdloan Migration (#5158)
* remove stupid check * here too
This commit is contained in:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user