diff --git a/bindings/bdk-kotlin/demo/src/main/kotlin/Main.kt b/bindings/bdk-kotlin/demo/src/main/kotlin/Main.kt index b1de13b..f24fe90 100644 --- a/bindings/bdk-kotlin/demo/src/main/kotlin/Main.kt +++ b/bindings/bdk-kotlin/demo/src/main/kotlin/Main.kt @@ -6,9 +6,14 @@ class LogProgress: BdkProgress { } } +class NullProgress: BdkProgress { + override fun update(progress: Float, message: String? ) { + + } +} + fun getConfirmedTransaction(wallet: OnlineWalletInterface, transactionId: String): ConfirmedTransaction? { - println("Syncing...") - wallet.sync(LogProgress(), null) + wallet.sync(NullProgress(), null) return wallet.getTransactions().stream().filter({ it.id.equals(transactionId) }).findFirst().orElse(null) }