diff --git a/content/_code-samples/claim-payment-channel/js/claimPayChannel.ts b/content/_code-samples/claim-payment-channel/js/claimPayChannel.ts index 47c197bc31..3ce4572a69 100644 --- a/content/_code-samples/claim-payment-channel/js/claimPayChannel.ts +++ b/content/_code-samples/claim-payment-channel/js/claimPayChannel.ts @@ -19,8 +19,8 @@ async function claimPayChannel(): Promise { const { wallet: wallet2 } = await client.fundWallet() console.log('Balances of wallets before 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) // create a Payment Channel and submit and wait for tx to be validated const paymentChannelCreate: PaymentChannelCreate = {