@@ -211,6 +211,7 @@ delegate!(DynKeysInterface, NodeSigner,
211211inner,
212212 fn get_node_id( , recipient: Recipient ) -> Result <PublicKey , ( ) >,
213213 fn sign_gossip_message( , msg: UnsignedGossipMessage ) -> Result <Signature , ( ) >,
214+ fn sign_message( , msg: & [ u8 ] ) -> Result <String , ( ) >,
214215 fn ecdh( , recipient: Recipient , other_key: & PublicKey , tweak: Option <& Scalar >) -> Result <SharedSecret , ( ) >,
215216 fn sign_invoice( , invoice: & RawBolt11Invoice , recipient: Recipient ) -> Result <RecoverableSignature , ( ) >,
216217 fn sign_bolt12_invoice( ,
@@ -278,6 +279,7 @@ delegate!(DynPhantomKeysInterface, NodeSigner,
278279 inner,
279280 fn get_node_id( , recipient: Recipient ) -> Result <PublicKey , ( ) >,
280281 fn sign_gossip_message( , msg: UnsignedGossipMessage ) -> Result <Signature , ( ) >,
282+ fn sign_message( , msg: & [ u8 ] ) -> Result <String , ( ) >,
281283 fn ecdh( , recipient: Recipient , other_key: & PublicKey , tweak: Option <& Scalar >) -> Result <SharedSecret , ( ) >,
282284 fn sign_invoice( , invoice: & RawBolt11Invoice , recipient: Recipient ) -> Result <RecoverableSignature , ( ) >,
283285 fn sign_bolt12_invoice( , invoice: & crate :: offers:: invoice:: UnsignedBolt12Invoice
0 commit comments