Skip to content

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

Open
ScuttoZ wants to merge 1 commit into
Blockstream:mainfrom
ScuttoZ:fix/739-signmessage-unsupported
Open

Calling signmessage returns an NotSupported instead of forwarding call to RPC#740
ScuttoZ wants to merge 1 commit into
Blockstream:mainfrom
ScuttoZ:fix/739-signmessage-unsupported

Conversation

@ScuttoZ

@ScuttoZ ScuttoZ commented Aug 11, 2026

Copy link
Copy Markdown

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

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)

1 participant