mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-24 13:45:49 +00:00
Update desktop wallet for xrpl.js 4.x+
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user