remove multiple wallets + monero auto-open + agents rules
This commit is contained in:
@@ -82,6 +82,10 @@ export const MoneroWallet = () => {
|
||||
await checkStatus()
|
||||
}
|
||||
await listWallets()
|
||||
if (wallets.length > 0) {
|
||||
const pw = await moneroGetStoredPassword(wallets[0])
|
||||
if (pw) await openExistingWallet(wallets[0], pw)
|
||||
}
|
||||
}
|
||||
|
||||
const logout = async () => {
|
||||
|
||||
@@ -80,7 +80,7 @@ export const XrpWallet = () => {
|
||||
)
|
||||
if (walletList) {
|
||||
wallets = walletList
|
||||
if (walletList.length === 1 && !currentWalletId) {
|
||||
if (walletList.length > 0 && !currentWalletId) {
|
||||
currentWalletId = walletList[0].id
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user