From a2794f25b09c5fd976922ffe611a0a45b236ea49 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Fri, 14 Jun 2024 10:19:54 -0400 Subject: [PATCH] test: fix live tests --- .../androidTest/kotlin/org/bitcoindevkit/LiveTxBuilderTest.kt | 2 +- .../src/androidTest/kotlin/org/bitcoindevkit/LiveWalletTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveTxBuilderTest.kt b/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveTxBuilderTest.kt index ea29a287..d1bc7807 100644 --- a/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveTxBuilderTest.kt +++ b/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveTxBuilderTest.kt @@ -62,7 +62,7 @@ class LiveTxBuilderTest { println("Balance: ${wallet.getBalance().total.toSat()}") assert(wallet.getBalance().total.toSat() > 0uL) { - "Wallet balance must be greater than 0! Please send funds to ${wallet.revealNextAddress(KeychainKind.EXTERNAL).address.asString()} and try again." + "Wallet balance must be greater than 0! Please send funds to ${wallet.revealNextAddress(KeychainKind.EXTERNAL).address} and try again." } val recipient1: Address = Address("tb1qrnfslnrve9uncz9pzpvf83k3ukz22ljgees989", Network.SIGNET) diff --git a/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveWalletTest.kt b/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveWalletTest.kt index b3618142..db8e38aa 100644 --- a/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveWalletTest.kt +++ b/bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveWalletTest.kt @@ -38,7 +38,7 @@ class LiveWalletTest { println("Balance: $balance") assert(wallet.getBalance().total.toSat() > 0uL) { - "Wallet balance must be greater than 0! Please send funds to ${wallet.revealNextAddress(KeychainKind.EXTERNAL).address.asString()} and try again." + "Wallet balance must be greater than 0! Please send funds to ${wallet.revealNextAddress(KeychainKind.EXTERNAL).address} and try again." } println("Transactions count: ${wallet.transactions().count()}")