mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
Update content/_code-samples/claim-payment-channel/js/claimPayChannel.ts
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -67,8 +67,8 @@ async function claimPayChannel(): Promise<void> {
|
||||
console.log(channelClaimResponse)
|
||||
|
||||
console.log('Balances of wallets after Payment Channel is claimed:')
|
||||
console.log(await client.getXrpBalance(wallet1.classicAddress))
|
||||
console.log(await client.getXrpBalance(wallet2.classicAddress))
|
||||
console.log(`Balance of ${wallet1.address} is ${await client.getXrpBalance(wallet1.address)} XRP)
|
||||
console.log(`Balance of ${wallet2.address} is ${await client.getXrpBalance(wallet2.address)} XRP)
|
||||
|
||||
await client.disconnect()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user