Update desktop wallet for xrpl.js 4.x+

This commit is contained in:
mDuo13
2025-07-15 12:33:05 -07:00
parent 762d48e43f
commit c873acacb7
2 changed files with 7 additions and 7 deletions

View File

@@ -8,12 +8,12 @@ const prepareTxData = (transactions) => {
}
return {
confirmed: transaction.tx.date,
type: transaction.tx.TransactionType,
from: transaction.tx.Account,
to: transaction.tx.Destination ?? "-",
confirmed: transaction.close_time_iso,
type: transaction.tx_json.TransactionType,
from: transaction.tx_json.Account,
to: transaction.tx_json.Destination ?? "-",
value: tx_value,
hash: transaction.tx.hash
hash: transaction.hash
}
})
}

View File

@@ -99,9 +99,9 @@ async function verify(accountAddress, client) {
try {
const response = await client.request(request)
return await checkDestination(response.result.account_data)
} catch {
} catch (err) {
return {
domain: 'domain',
domain: '',
verified: false
}
}