Skip to content

Commit d68b399

Browse files
committed
psbt: rename constant to avoid a wally internal symbol clash
1 parent d05819e commit d68b399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/utils/psbt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ static bool key_iter_is_supported_taproot(const key_iter* iter, const struct wal
2020
return false; // Leaf script present: a script-path spend
2121
}
2222
// TODO: use the wally merkle root accessor when it is exposed
23-
const uint32_t PSBT_IN_TAP_MERKLE_ROOT = 0x18; // From BIP-174
24-
if (wally_map_get_integer(&input->psbt_fields, PSBT_IN_TAP_MERKLE_ROOT)) {
23+
const uint32_t psbt_in_tap_merkle_root = 0x18; // From BIP-174
24+
if (wally_map_get_integer(&input->psbt_fields, psbt_in_tap_merkle_root)) {
2525
return false; // Merkle root present: script-path present
2626
}
2727
} else {

0 commit comments

Comments
 (0)