@@ -1379,7 +1379,7 @@ fn update_conflicting_txs_order_v1_conclude(#[case] seed: Seed) {
13791379 assert ! ( output_cache. orders[ & order_id] . is_concluded) ;
13801380
13811381 // A *different* confirmed conclude tx for the same order arrives.
1382- // update_conflicting_txs must mark the unconfirmed one as Conflicted.
1382+ // update_conflicting_txs must mark the unconfirmed ones as Conflicted.
13831383 let confirmed_conclude_tx = TransactionBuilder :: new ( )
13841384 . add_input (
13851385 TxInput :: OrderAccountCommand ( OrderAccountCommand :: ConcludeOrder ( order_id) ) ,
@@ -1446,6 +1446,7 @@ fn update_conflicting_txs_order_v1_conclude(#[case] seed: Seed) {
14461446 . unwrap ( ) ;
14471447
14481448 assert ! ( output_cache. orders[ & order_id] . is_concluded) ;
1449+ assert ! ( !output_cache. orders[ & order_id] . is_frozen) ;
14491450}
14501451
14511452// Regression test: same as above but for FreezeOrder.
@@ -1531,6 +1532,8 @@ fn update_conflicting_txs_order_v1_freeze(#[case] seed: Seed) {
15311532 . unwrap ( ) ;
15321533
15331534 assert ! ( output_cache. orders[ & order_id] . is_frozen) ;
1535+ // concluded is still false
1536+ assert ! ( !output_cache. orders[ & order_id] . is_concluded) ;
15341537
15351538 // A *different* confirmed freeze tx for the same order arrives.
15361539 // update_conflicting_txs must mark the unconfirmed one as Conflicted.
@@ -1577,6 +1580,7 @@ fn update_conflicting_txs_order_v1_freeze(#[case] seed: Seed) {
15771580
15781581 // is_frozen must be rolled back after the conflict.
15791582 assert ! ( !output_cache. orders[ & order_id] . is_frozen) ;
1583+ assert ! ( !output_cache. orders[ & order_id] . is_concluded) ;
15801584
15811585 // The confirmed freeze tx must now be addable without error.
15821586 output_cache
@@ -1592,6 +1596,7 @@ fn update_conflicting_txs_order_v1_freeze(#[case] seed: Seed) {
15921596 . unwrap ( ) ;
15931597
15941598 assert ! ( output_cache. orders[ & order_id] . is_frozen) ;
1599+ assert ! ( !output_cache. orders[ & order_id] . is_concluded) ;
15951600}
15961601
15971602fn add_random_transfer_tx (
0 commit comments