mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
modify python
This commit is contained in:
parent
6dc9f61a1d
commit
a2c4161de7
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ def new(stub, wallet_password="", seed_entropy=None):
|
|||
|
||||
def seed(stub, wallet_password="", seed_words="", seed_password=""):
|
||||
request = ln.InitWalletRequest(
|
||||
recovery_window=5000,
|
||||
wallet_password=wallet_password.encode(),
|
||||
cipher_seed_mnemonic=[x.encode() for x in seed_words],
|
||||
aezeed_passphrase=seed_password.encode()
|
||||
|
@ -115,6 +116,7 @@ def scb(stub, wallet_password="", seed_words="", seed_password="", file_path_scb
|
|||
print(scb_hex_str)
|
||||
|
||||
request = ln.InitWalletRequest(
|
||||
recovery_window=5000,
|
||||
wallet_password=wallet_password.encode(),
|
||||
cipher_seed_mnemonic=[x.encode() for x in seed_words],
|
||||
aezeed_passphrase=seed_password.encode(),
|
||||
|
|
Loading…
Add table
Reference in a new issue