mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: rename sendonionmessage to sendobsonionmessage.
sendonionmessage is going to be the new one, and do much *less*. As this is an internal experimental-only API, no deprecation cycle required. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -13,7 +13,7 @@ def on_onion_message(plugin, onion_message, **kwargs):
|
||||
plugin.log("no reply path")
|
||||
return
|
||||
|
||||
plugin.rpc.call('sendonionmessage', [onion_message['reply_path']])
|
||||
plugin.rpc.call('sendobsonionmessage', [onion_message['reply_path']])
|
||||
plugin.log("Got onion_message invoice '{}'".format(onion_message['invoice']))
|
||||
plugin.log("Sent reply via {}".format(onion_message['reply_path']))
|
||||
return {"result": "continue"}
|
||||
|
||||
Reference in New Issue
Block a user