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