@@ -309,7 +309,6 @@ fn fill_order_constraints(#[case] seed: Seed, #[case] version: OrdersVersion) {
309309 OrdersVersion :: V1 => TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder (
310310 order_id,
311311 ( ask_amount + Amount :: from_atoms ( 1 ) ) . unwrap ( ) ,
312- Destination :: AnyoneCanSpend ,
313312 ) ) ,
314313 } ;
315314 let inputs = vec ! [
@@ -354,11 +353,9 @@ fn fill_order_constraints(#[case] seed: Seed, #[case] version: OrdersVersion) {
354353 AccountNonce :: new ( 0 ) ,
355354 AccountCommand :: FillOrder ( order_id, ask_amount, Destination :: AnyoneCanSpend ) ,
356355 ) ,
357- OrdersVersion :: V1 => TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder (
358- order_id,
359- ask_amount,
360- Destination :: AnyoneCanSpend ,
361- ) ) ,
356+ OrdersVersion :: V1 => {
357+ TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder ( order_id, ask_amount) )
358+ }
362359 } ;
363360 let inputs = vec ! [
364361 TxInput :: Utxo ( UtxoOutPoint :: new(
@@ -395,11 +392,9 @@ fn fill_order_constraints(#[case] seed: Seed, #[case] version: OrdersVersion) {
395392 AccountNonce :: new ( 0 ) ,
396393 AccountCommand :: FillOrder ( order_id, ask_amount, Destination :: AnyoneCanSpend ) ,
397394 ) ,
398- OrdersVersion :: V1 => TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder (
399- order_id,
400- ask_amount,
401- Destination :: AnyoneCanSpend ,
402- ) ) ,
395+ OrdersVersion :: V1 => {
396+ TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder ( order_id, ask_amount) )
397+ }
403398 } ;
404399 let inputs = vec ! [
405400 TxInput :: Utxo ( UtxoOutPoint :: new(
@@ -451,11 +446,9 @@ fn fill_order_constraints(#[case] seed: Seed, #[case] version: OrdersVersion) {
451446 AccountNonce :: new ( 0 ) ,
452447 AccountCommand :: FillOrder ( order_id, ask_amount, Destination :: AnyoneCanSpend ) ,
453448 ) ,
454- OrdersVersion :: V1 => TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder (
455- order_id,
456- ask_amount,
457- Destination :: AnyoneCanSpend ,
458- ) ) ,
449+ OrdersVersion :: V1 => {
450+ TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder ( order_id, ask_amount) )
451+ }
459452 } ;
460453 let inputs = vec ! [
461454 TxInput :: Utxo ( UtxoOutPoint :: new(
@@ -512,11 +505,9 @@ fn fill_order_constraints(#[case] seed: Seed, #[case] version: OrdersVersion) {
512505 AccountNonce :: new ( 0 ) ,
513506 AccountCommand :: FillOrder ( order_id, ask_amount, Destination :: AnyoneCanSpend ) ,
514507 ) ,
515- OrdersVersion :: V1 => TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder (
516- order_id,
517- ask_amount,
518- Destination :: AnyoneCanSpend ,
519- ) ) ,
508+ OrdersVersion :: V1 => {
509+ TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder ( order_id, ask_amount) )
510+ }
520511 } ;
521512 let inputs = vec ! [
522513 TxInput :: Utxo ( UtxoOutPoint :: new(
@@ -571,11 +562,9 @@ fn fill_order_constraints(#[case] seed: Seed, #[case] version: OrdersVersion) {
571562 AccountNonce :: new ( 0 ) ,
572563 AccountCommand :: FillOrder ( order_id, ask_amount, Destination :: AnyoneCanSpend ) ,
573564 ) ,
574- OrdersVersion :: V1 => TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder (
575- order_id,
576- ask_amount,
577- Destination :: AnyoneCanSpend ,
578- ) ) ,
565+ OrdersVersion :: V1 => {
566+ TxInput :: OrderAccountCommand ( OrderAccountCommand :: FillOrder ( order_id, ask_amount) )
567+ }
579568 } ;
580569 let inputs = vec ! [
581570 TxInput :: Utxo ( UtxoOutPoint :: new(
0 commit comments