Skip to content

Commit

Permalink
Merge pull request #1137 from breez/jssdwt-version-swaps
Browse files Browse the repository at this point in the history
set swap version number
  • Loading branch information
roeierez authored Dec 2, 2024
2 parents f7518ea + 02206d6 commit 45c9411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/sdk-common/src/grpc/proto/breez.proto
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ message AddFundInitRequest {
string notificationToken = 2;
bytes pubkey = 3;
bytes hash = 4;
int32 version = 5;
}

message AddFundInitReply {
Expand Down
1 change: 1 addition & 0 deletions libs/sdk-core/src/swap_in/swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 45c9411

Please sign in to comment.