Skip to content

Commit b8aaa8e

Browse files
committed
app+proto: run make protos and make
Update the generated app and proto files.
1 parent 8cedcc9 commit b8aaa8e

File tree

4 files changed

+40
-77
lines changed

4 files changed

+40
-77
lines changed

app/src/types/generated/loop_pb.d.ts

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/loop_pb.js

Lines changed: 28 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/util/tests/sampleData.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ export const loopInQuote: LOOP.InQuoteResponse.AsObject = {
369369

370370
export const loopSwapResponse: LOOP.SwapResponse.AsObject = {
371371
htlcAddress: 'bcrt1qkjct8aqxfwyla50mfxdnzlmuphg3zwuz2zmuy99c9sw67xj7tn2sfkflhw',
372-
htlcAddressNp2wsh: '',
373372
htlcAddressP2wsh: 'bcrt1qkjct8aqxfwyla50mfxdnzlmuphg3zwuz2zmuy99c9sw67xj7tn2sfkflhw',
374373
id: '18e17a2f44efc7f344ef6330281765e569315f93d3eaf9b0f959b404836e3480',
375374
idBytes: 'GOF6L0Tvx/NE72MwKBdl5WkxX5PT6vmw+Vm0BINuNIA=',

proto/loop.proto

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -298,18 +298,12 @@ message SwapResponse {
298298
depending on the request, the semantics are different.
299299
- For internal loop-in htlc_address contains the address of the
300300
native segwit (P2WSH) htlc.
301-
- For external loop-in htlc_address contains the address of the
302-
nested segwit (NP2WSH) htlc.
303-
- For loop-out htlc_address always contains the native segwit (P2WSH)
301+
/ - For loop-out htlc_address always contains the native segwit (P2WSH)
304302
htlc address.
305303
*/
306304
string htlc_address = 2 [deprecated = true];
307305

308-
/*
309-
The nested segwit address of the on-chain htlc.
310-
This field remains empty for loop-out.
311-
*/
312-
string htlc_address_np2wsh = 4;
306+
reserved 4;
313307

314308
/*
315309
The native segwit address of the on-chain htlc.
@@ -377,8 +371,6 @@ message SwapStatus {
377371
DEPRECATED: This field stores the address of the onchain htlc.
378372
- For internal loop-in htlc_address contains the address of the
379373
native segwit (P2WSH) htlc.
380-
- For external loop-in htlc_address contains the nested segwit (NP2WSH)
381-
address.
382374
- For loop-out htlc_address always contains the native segwit (P2WSH)
383375
htlc address.
384376
*/
@@ -387,9 +379,6 @@ message SwapStatus {
387379
// HTLC address (native segwit), used in loop-in and loop-out swaps.
388380
string htlc_address_p2wsh = 12;
389381

390-
// HTLC address (nested segwit), used in loop-in swaps only.
391-
string htlc_address_np2wsh = 13;
392-
393382
// The address of the v3 (taproot) htlc. Used for both loop-in and loop-out.
394383
string htlc_address_p2tr = 18;
395384

@@ -865,6 +854,12 @@ message LiquidityParameters {
865854
The confirmation target for loop in on-chain htlcs.
866855
*/
867856
int32 htlc_conf_target = 17;
857+
858+
/*
859+
The destination address to use for autoloop loop outs. Set to "default" in
860+
order to revert to default behavior.
861+
*/
862+
string autoloop_dest_address = 18;
868863
}
869864

870865
enum LiquidityRuleType {

0 commit comments

Comments
 (0)