Integrate SDK Request / Response changes

This commit is contained in:
ok300
2023-10-23 19:38:32 +02:00
parent 1caf35a802
commit 0699adeb9d
12 changed files with 54 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ async fn receive_payment(sdk: Arc<BreezServices>) -> Result<()> {
// ANCHOR: receive-payment
let res = sdk.receive_payment(
ReceivePaymentRequest {
amount_sats: 3000,
amount_msat: 3_000_000,
description: "Invoice for 3000 sats".into(),
cltv: None,
expiry: None,