mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-18 22:34:19 +01:00
Bump Rust snippets SDK dependency to v0.2.9
This commit is contained in:
@@ -5,10 +5,11 @@ use breez_sdk_core::*;
|
||||
|
||||
async fn buy(sdk: Arc<BreezServices>) -> Result<()> {
|
||||
// ANCHOR: buy-btc
|
||||
let res = sdk.buy_bitcoin(
|
||||
BuyBitcoinRequest {
|
||||
let res = sdk
|
||||
.buy_bitcoin(BuyBitcoinRequest {
|
||||
provider: BuyBitcoinProvider::Moonpay,
|
||||
opening_fee_params: None})
|
||||
opening_fee_params: None,
|
||||
})
|
||||
.await?;
|
||||
// ANCHOR_END: buy-btc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user