mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 12:45:50 +00:00
Use APIv2 for faucets
This commit is contained in:
@@ -133,6 +133,7 @@ async function generateFaucetCredentialsAndUpdateUI(
|
|||||||
const wallet = Wallet.generate()
|
const wallet = Wallet.generate()
|
||||||
|
|
||||||
const client = new Client(selectedFaucet.wsUrl)
|
const client = new Client(selectedFaucet.wsUrl)
|
||||||
|
client.apiVersion = 1 // Workaround for networks that don't support APIv2
|
||||||
await client.connect()
|
await client.connect()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user