dual_open: neaten spacing for macro
This commit is contained in:
parent
55bbdf1866
commit
d98bd39d60
|
@ -306,15 +306,16 @@ hook_extract_amount(struct subd *dualopend,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CHECK_CHANGES(set, dir) \
|
#define CHECK_CHANGES(set, dir) \
|
||||||
do { \
|
do { \
|
||||||
for (size_t i = 0; i < tal_count(set); i++) { \
|
for (size_t i = 0; i < tal_count(set); i++) { \
|
||||||
ok = psbt_get_serial_id(&set[i].dir.unknowns, &serial_id); \
|
ok = psbt_get_serial_id(&set[i].dir.unknowns, \
|
||||||
assert(ok); \
|
&serial_id); \
|
||||||
if (serial_id % 2 != opener_side) \
|
assert(ok); \
|
||||||
return true; \
|
if (serial_id % 2 != opener_side) \
|
||||||
} \
|
return true; \
|
||||||
} while (false) \
|
} \
|
||||||
|
} while (false)
|
||||||
|
|
||||||
static bool psbt_side_contribs_changed(struct wally_psbt *orig,
|
static bool psbt_side_contribs_changed(struct wally_psbt *orig,
|
||||||
struct wally_psbt *new,
|
struct wally_psbt *new,
|
||||||
|
|
Loading…
Reference in New Issue