mandatory-script-verify-flag-failed v25.09.3-modded
I am going to withdraw the money from my testing lightning node on mainet and I am getting this error for some reason
lightning-cli sendrawtransaction 020000000a2679b08b37e36d44bb49fa7c031942660803f1b8c05b80083e1b969aaaa003bc0100000000fdffffff3c0f18123a5f8d696f3f530f95d343fa8e207bd669cc655bc826c893c46198cc0000000000fdffffffc31e0ff68fec6781675db72ca0d378d02db56456030becf25dbe0ac3cd20b7aa0100000000fdffffffed7f81bf64307f6cd25cef7278ffc732264233968368fc3917793fed2d77bdf50000000000fdffffffce3427d3fe46a8f146fd824617e499c8564d7f974e2d64cd47c8d5d0751a27180200000000010000007421b348c27c482b3da1abbf469a6589558150f9bafc2fa230c03cc53751688c0000000000fdffffff939b7b69713e8ed97d4a75d863ce47128d26a60bb9e67438b20bf6f9f2845f560000000000fdffffff3807358665857e2d4724d4aa1f0afc63356136da42b0c5f2bc8caf662ed311bf0000000000fdffffff805a1073d4285d890f48d06970c8d31f8b45fab358b567d8336cc83de649f35e0000000000fdffffffe66d972bf95478ff766af46e0878dfcc0c1392b9b2d73aef9a9a33dd561bb6de0100000000fdffffff0206e5940000000000220020e15b3cbf348699e937d60e319fbe7849af5e061d2b498a8d49b4612b4c9f4014a861000000000000225120bfd5121ff10f4e62aaadd1630a1404666b2bf8c9b79db0d35b245f6daaad815a521a0e00 true
{
"success": false,
"errmsg": "error code: -26\nerror message:\nmandatory-script-verify-flag-failed (Witness program was passed an empty witness)"
}
Yes. It has no scriptsigs. bitcoind is pretty clear here...
I'm confused: where is this transaction from, and why is this a CLN issue?
I'm confused: where is this transaction from, and why is this a CLN issue?
Because it is a withdrawal from core lightning? As I mention I am going to withdraw the money from my testing lightning node
But what command made that (invalid) transaction? I would expect you to clear your node by using "withdraw all"...
But what command made that (invalid) transaction? I would expect you to clear your node by using "withdraw all"
I did and the transaction that created from the "withdraw" command is 020000000a2679b08b37e36d44bb49fa7c031942660803f1b8c05b80083e1b969aaaa003bc0100000000fdffffff3c0f18123a5f8d696f3f530f95d343fa8e207bd669cc655bc826c893c46198cc0000000000fdffffffc31e0ff68fec6781675db72ca0d378d02db56456030becf25dbe0ac3cd20b7aa0100000000fdffffffed7f81bf64307f6cd25cef7278ffc732264233968368fc3917793fed2d77bdf50000000000fdffffffce3427d3fe46a8f146fd824617e499c8564d7f974e2d64cd47c8d5d0751a27180200000000010000007421b348c27c482b3da1abbf469a6589558150f9bafc2fa230c03cc53751688c0000000000fdffffff939b7b69713e8ed97d4a75d863ce47128d26a60bb9e67438b20bf6f9f2845f560000000000fdffffff3807358665857e2d4724d4aa1f0afc63356136da42b0c5f2bc8caf662ed311bf0000000000fdffffff805a1073d4285d890f48d06970c8d31f8b45fab358b567d8336cc83de649f35e0000000000fdffffffe66d972bf95478ff766af46e0878dfcc0c1392b9b2d73aef9a9a33dd561bb6de0100000000fdffffff0206e5940000000000220020e15b3cbf348699e937d60e319fbe7849af5e061d2b498a8d49b4612b4c9f4014a861000000000000225120bfd5121ff10f4e62aaadd1630a1404666b2bf8c9b79db0d35b245f6daaad815a521a0e00
I had to use sendrawtransaction because I lost the withdraw result, and I am waiting for the inputs to be unreserved again. The error with "withdraw" will be the same due sendrawtransaction under the hood anyway!
Did you get that transaction from the logs, or the return from the withdraw command? Because it's clearly unfinished... 🤔
Did you get that transaction from the logs, or the return from the withdraw command?
No Rusty, this is the result that I get from the "withdraw" as specified inside the previous message!
Right, so the bug is withdraw returning an unsigned tx. You should, meanwhile, be able to sendpsbt the psbt it returned...
Right, so the bug is withdraw returning an unsigned tx. You should, meanwhile, be able to sendpsbt the psbt it returned...
Not sure because I lost the output of withdraw but If helps I should be able to try again to help in fixing this issue