Change descriptor to wpkh with tprv key

This commit is contained in:
Steve Myers 2021-10-18 16:51:18 -07:00
parent db4f2db748
commit fd03eb95eb

View File

@ -45,7 +45,7 @@ val unconfirmedFirstThenByTimestampDescending =
@ExperimentalUnsignedTypes
fun main(args: Array<String>) {
println("Configuring an in-memory wallet on electrum..")
val descriptor = "pkh(cSQPHDBwXGjVzWRqAHm6zfvQhaTuj1f2bFH58h55ghbjtFwvmeXR)"
val descriptor = "wpkh(tprv8ZgxMBicQKsPeSitUfdxhsVaf4BXAASVAbHypn2jnPcjmQZvqZYkeqx7EHQTWvdubTSDa5ben7zHC7sUsx4d8tbTvWdUtHzR8uhHg2CW7MT/*)"
val amount = 1000uL
val recipient = "tb1ql7w62elx9ucw4pj5lgw4l028hmuw80sndtntxt"
val db = DatabaseConfig.Memory("")