diff --git a/core/payment/examples/debit_note_flow.rs b/core/payment/examples/debit_note_flow.rs index 6d7bf8868..56e36c47b 100644 --- a/core/payment/examples/debit_note_flow.rs +++ b/core/payment/examples/debit_note_flow.rs @@ -76,11 +76,9 @@ async fn main() -> anyhow::Result<()> { address: None, // Use default address (i.e. identity) payment_platform: Some(PaymentPlatformEnum::PaymentPlatformName(args.platform)), total_amount: BigDecimal::from(10u64), - timeout: None, make_deposit: false, deposit: None, timeout: None, - make_deposit: false, }) .await?; log::info!("Allocation created."); diff --git a/core/payment/examples/payment_api.rs b/core/payment/examples/payment_api.rs index b53db6a5b..cd6544341 100644 --- a/core/payment/examples/payment_api.rs +++ b/core/payment/examples/payment_api.rs @@ -257,6 +257,7 @@ async fn main() -> anyhow::Result<()> { requestor_addr.clone(), args.network.clone(), None, + false, )) .await??; bus::service(driver_bus_id(driver_name))