mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-23 21:25:49 +00:00
Clarified Step 1 instructions
This commit is contained in:
@@ -43,7 +43,12 @@ const main = async () => {
|
||||
if (!fs.existsSync(path.join(__dirname, WALLET_DIR , 'seed.txt'))) {
|
||||
saveSaltedSeed(WALLET_DIR, seed, password)
|
||||
} else {
|
||||
seed = loadSaltedSeed(WALLET_DIR, password)
|
||||
try {
|
||||
seed = loadSaltedSeed(WALLET_DIR, password)
|
||||
} catch (error) {
|
||||
appWindow.webContents.send('open-password-dialog', true)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
const wallet = xrpl.Wallet.fromSeed(seed)
|
||||
|
||||
Reference in New Issue
Block a user