Skip to content

Calling signmessage returns an NotSupported instead of forwarding call to RPC - #740

Merged
cdecker merged 1 commit into
Blockstream:mainfrom
ScuttoZ:fix/739-signmessage-unsupported
Sep 6, 2026
Merged

cdecker merged 1 commit into
Blockstream:mainfrom
ScuttoZ:fix/739-signmessage-unsupported

Conversation

@ScuttoZ

@ScuttoZ ScuttoZ commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Problem

signmessage never returns, and takes the node's signing down with it.

Change

Reject the RPC in WrappedNodeServer::sign_message with Unimplemented, before it can reach lightningd, avoiding a JSON-RPC call.

Test plan

test_node_signmessage_rejected asserts the call fails fast and that an invoice still mints afterwards, i.e. the hsmd queue is intact.

Fixes #739

@cdecker
cdecker force-pushed the fix/739-signmessage-unsupported branch from 289a451 to 7d2d4cc Compare September 4, 2026 14:59
@cdecker
cdecker merged commit c1ae5c1 into Blockstream:main Sep 6, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] signmessage hangs forever on the VLS signer and freezes the node (hsmd queue wedge)

2 participants