Closed nkuba closed 2 years ago
Works for me!
Just tested it out in the command line:
❯ bitcoind-wallet getNewAddress p2wsh
(node:85945) ExperimentalWarning: The ESM module loader is experimental.
(node:85945) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
bcrt1qdmd4w9grunkvwn4ts2vp66cnfk3szl485z4wddqp2pv2ewypvq5q5su5q7
and the code looks fine. May as well get this merged in :tada:
getNewAddress function is now able to generate P2WSH address.