mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
Update _code-samples/nft-modular-tutorials/account-support.js
Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
This commit is contained in:
@@ -32,8 +32,10 @@ async function getAccount() {
|
|||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
// Disconnect from the client
|
// Disconnect from the client
|
||||||
|
if (client && client.isConnected()) {
|
||||||
await client.disconnect();
|
await client.disconnect();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} // End of getAccount()
|
} // End of getAccount()
|
||||||
|
|
||||||
async function getNewAccount1() {
|
async function getNewAccount1() {
|
||||||
|
|||||||
Reference in New Issue
Block a user