File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -552,8 +552,9 @@ impl<N: Network> Block<N> {
552
552
// Ensure there are no more transactions in the block.
553
553
ensure ! ( unconfirmed_transaction_ids. next( ) . is_none( ) , "There exists more transactions than expected." ) ;
554
554
555
+ // TODO: Move this check to be outside of this method, and check against the ledger for existence.
555
556
// 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.");
557
558
// Ensure the aborted transaction IDs match.
558
559
for aborted_transaction_id in aborted_transaction_ids {
559
560
// If the aborted transaction ID is not found, throw an error.
You can’t perform that action at this time.
0 commit comments