Skip to content

Commit 1068c12

Browse files
authored
Merge pull request #2109 from AleoHQ/hotfix/check
Reduce a check for the cm
2 parents d7be84c + aa33cfa commit 1068c12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ledger/block/src/verify.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,9 @@ impl<N: Network> Block<N> {
552552
// Ensure there are no more transactions in the block.
553553
ensure!(unconfirmed_transaction_ids.next().is_none(), "There exists more transactions than expected.");
554554

555+
// TODO: Move this check to be outside of this method, and check against the ledger for existence.
555556
// Ensure there are no aborted or existing solution IDs.
556-
ensure!(aborted_or_existing_solution_ids.is_empty(), "Block contains aborted or already-existing solutions.");
557+
// ensure!(aborted_or_existing_solution_ids.is_empty(), "Block contains aborted or already-existing solutions.");
557558
// Ensure the aborted transaction IDs match.
558559
for aborted_transaction_id in aborted_transaction_ids {
559560
// If the aborted transaction ID is not found, throw an error.

0 commit comments

Comments
 (0)