diff --git a/libs/sdk-common/src/grpc/proto/breez.proto b/libs/sdk-common/src/grpc/proto/breez.proto index 42db71541..9bfc8c95f 100644 --- a/libs/sdk-common/src/grpc/proto/breez.proto +++ b/libs/sdk-common/src/grpc/proto/breez.proto @@ -234,6 +234,7 @@ message AddFundInitRequest { string notificationToken = 2; bytes pubkey = 3; bytes hash = 4; + int32 version = 5; } message AddFundInitReply { diff --git a/libs/sdk-core/src/swap_in/swap.rs b/libs/sdk-core/src/swap_in/swap.rs index 13904bf92..56b9aa330 100644 --- a/libs/sdk-core/src/swap_in/swap.rs +++ b/libs/sdk-core/src/swap_in/swap.rs @@ -52,6 +52,7 @@ impl SwapperAPI for BreezServer { pubkey: payer_pubkey.clone(), node_id, notification_token: "".to_string(), + version: 1, }; let result = with_connection_retry!(client.add_fund_init(req.clone()))