Update consumers of OnlineWallet::new with change descriptor

This commit is contained in:
Sudarsan Balaji
2021-10-21 14:53:51 +05:30
parent 091f5df97d
commit d833ebadfc
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ fun main(args: Array<String>) {
BlockchainConfig.Electrum(
ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u)
)
val wallet = OnlineWallet(descriptor, network, db, client)
val wallet = OnlineWallet(descriptor, null, network, db, client)
wallet.sync(LogProgress(), null)
println("Initial wallet balance: ${wallet.getBalance()}")
println("Please send $amount satoshis to address: ${wallet.getNewAddress()}")