From 553c33724193173d8146d715a67f43f79ab38679 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Fri, 17 Feb 2023 17:31:00 -0500 Subject: [PATCH] Update JVM readme --- bdk-jvm/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bdk-jvm/README.md b/bdk-jvm/README.md index 3a0d554..0eab282 100644 --- a/bdk-jvm/README.md +++ b/bdk-jvm/README.md @@ -28,7 +28,7 @@ val blockchainConfig = BlockchainConfig.Electrum( ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true) ) val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig) -val newAddress = wallet.getAddress(AddressIndex.LAST_UNUSED) +val newAddress = wallet.getAddress(AddressIndex.LastUnused) ``` ### Snapshot releases @@ -83,6 +83,7 @@ and use the `publishToMavenLocal` task without excluding the signing task: ``` ## Known issues +## JNA dependency Depending on the JVM version you use, you might not have the JNA dependency on your classpath. The exception thrown will be ```shell class file for com.sun.jna.Pointer not found