954@@ -945,7 +955,8 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
955 {"txid", RPCArg::Type::STR_HEX, /* opt */ false, /* default_val */ "", "The transaction id"},
956 {"vout", RPCArg::Type::NUM, /* opt */ false, /* default_val */ "", "The output number"},
957 {"scriptPubKey", RPCArg::Type::STR_HEX, /* opt */ false, /* default_val */ "", "script key"},
958- {"redeemScript", RPCArg::Type::STR_HEX, /* opt */ true, /* default_val */ "omitted", "(required for P2SH or P2WSH) redeem script"},
959+ {"redeemScript", RPCArg::Type::STR_HEX, /* opt */ true, /* default_val */ "omitted", "(required for P2SH) redeem script"},
In commit “Make listunspent return witness script for P2WSH or P2SH-P2WSH” (0b665ab577ab41e3b7b12d9b7d83c151cf90fdaf)
Could update commit message to mention change to signrawtransactionwithkey