diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-08-21 17:50:09 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2024-05-03 14:20:45 -0300 |
commit | 9d9a91c4ea6b3bb32ef4131bca86f1d6683fc901 (patch) | |
tree | 7b2e9342ff9a9ba09b29149354612a1cd4588160 /src/script/miniscript.cpp | |
parent | 0c9fedfc45fa7cbd6801ca5fd756863ec9a6911c (diff) |
rpc: bugfix, incorrect segwit redeem script size used in signrawtransactionwithkey
The process currently fails to sign redeem scripts that are longer than
520 bytes. Even when it shouldn't. The 520 bytes redeem scripts limit
is a legacy p2sh rule, and not a segwit limitation.
Segwit redeem scripts are not restricted by the script item size limit.
The reason why this occurs, is the usage of the same keystore used by
the legacy spkm. Which contains blockage for any redeem scripts longer
than the script item size limit.
Diffstat (limited to 'src/script/miniscript.cpp')
0 files changed, 0 insertions, 0 deletions