Update bdk-android tests and readme

This commit is contained in:
thunderbiscuit committed 2023-01-09 21:03:41 -05:00
1 parent ff2734663e
commit 340fa19bb8
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ val internalDescriptor = "wpkh([c258d2e4/84h/1h/0h]tpubDDYkZojQFQjht8Tm4jsS3iuEm
val databaseConfig = DatabaseConfig.Memory val databaseConfig = DatabaseConfig.Memory
val blockchainConfig = BlockchainConfig.Electrum( val blockchainConfig = BlockchainConfig.Electrum(
ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u) ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true)
) )
val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig) val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig)
val newAddress = wallet.getAddress(AddressIndex.LAST_UNUSED) val newAddress = wallet.getAddress(AddressIndex.LAST_UNUSED)
@@ -46,7 +46,8 @@ class AndroidLibTest {
null, null,
5u, 5u,
null, null,
100u 100u,
true,
) )
) )