mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-24 21:55:52 +00:00
Remove unnecessary code.
No reason to get the wallet when getting the lists of offers.
This commit is contained in:
@@ -561,11 +561,10 @@ Disconnect from the ledger.
|
|||||||
async function getOffers() {
|
async function getOffers() {
|
||||||
```
|
```
|
||||||
|
|
||||||
Get the standby account wallet and connect to the ledger.
|
Connect to the ledger.
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
const standby_wallet = xrpl.Wallet.fromSeed(standbySeedField.value)
|
|
||||||
let net = getNet()
|
let net = getNet()
|
||||||
const client = new xrpl.Client(net)
|
const client = new xrpl.Client(net)
|
||||||
results = 'Connecting to ' + getNet() + '...'
|
results = 'Connecting to ' + getNet() + '...'
|
||||||
|
|||||||
Reference in New Issue
Block a user