summaryrefslogtreecommitdiff
path: root/bip-0039/japanese.txt
diff options
context:
space:
mode:
authorJonas Nick <jonasd.nick@gmail.com>2022-10-24 20:33:05 +0000
committerJonas Nick <jonasd.nick@gmail.com>2022-10-24 20:33:05 +0000
commitbe340277fcaa57a813a898700c1aef9637cfa90e (patch)
tree29be8bb3f74f6f3d704c4424e5445546039a990d /bip-0039/japanese.txt
parent6545b81022212a9f1c814f6ce1673e84bc02c910 (diff)
BIP 341: Fix taproot_tweak_pubkey
`lift_x` returns `None` if the input integer is not an X coordinate on the curve to indicate failure. `point_add`, on the other hand, interprets `None` as the point at infinity. Therefore, without this commit, if the internal `pubkey` is not a valid X coordinate, the function will not fail, which contradicts the specification in the "Script validation rules section". Instead, it sets `Q` to `t*G`.
Diffstat (limited to 'bip-0039/japanese.txt')
0 files changed, 0 insertions, 0 deletions