From 3399c20ad61539ce8e98143bc32723c25b061d2f Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 28 Apr 2026 15:16:42 +0000 Subject: [PATCH] commands: export_lightning_preimage: add comment about wallet password --- electrum/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electrum/commands.py b/electrum/commands.py index 301fc2eb9..ac3143ed4 100644 --- a/electrum/commands.py +++ b/electrum/commands.py @@ -1534,6 +1534,9 @@ class Commands(Logger): """ Returns the stored preimage of the given payment_hash if it is known. + note: Exporting a preimage does not require the wallet password (RPC access is enough). + We don't consider preimages as sensitive as private keys. + arg:str:payment_hash: Hash of the preimage """ preimage = wallet.lnworker.get_preimage_hex(payment_hash)