From 4475ee098fd806e3d8e0441fc50ac5cabd72bbc1 Mon Sep 17 00:00:00 2001 From: Kamil Koczurek Date: Wed, 7 Aug 2024 13:23:44 +0200 Subject: [PATCH] build fix --- core/payment/examples/debit_note_flow.rs | 2 -- core/payment/examples/payment_api.rs | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/payment/examples/debit_note_flow.rs b/core/payment/examples/debit_note_flow.rs index 6d7bf88689..56e36c47b2 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 b53db6a5b5..cd65443411 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))