This commit is contained in:
zeppi 2022-10-10 18:17:20 -04:00 committed by Lex Berezhny
parent 0217aede3d
commit d957d46f96

View file

@ -1332,7 +1332,7 @@ class Daemon(metaclass=JSONRPCServerType):
""" """
Export wallet data Export wallet data
Wallet must be unlocked to perform this operation. Wallet must be unlocked to perform this operation. Exports JSON if password is not supplied.
Usage: Usage:
wallet_export [--password=<password>] [--wallet_id=<wallet_id>] wallet_export [--password=<password>] [--wallet_id=<wallet_id>]
@ -1342,7 +1342,7 @@ class Daemon(metaclass=JSONRPCServerType):
--wallet_id=<wallet_id> : (str) wallet being exported --wallet_id=<wallet_id> : (str) wallet being exported
Returns: Returns:
(str) data (str) data: Either base64-encoded encrypted wallet, or cleartext JSON
""" """
wallet = self.wallet_manager.get_wallet_or_default(wallet_id) wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
@ -1369,7 +1369,7 @@ class Daemon(metaclass=JSONRPCServerType):
--blocking : (bool) wait until any new accounts have merged --blocking : (bool) wait until any new accounts have merged
Returns: Returns:
(str) data (str) Either base64-encoded encrypted wallet, or cleartext JSON
""" """
wallet = self.wallet_manager.get_wallet_or_default(wallet_id) wallet = self.wallet_manager.get_wallet_or_default(wallet_id)