I have a privkey of a P2SH-P2PKH address, how to import it to Bitcoin core 0.18.0? In previous versions, I could call
importprivatekey and then
addwitnessaddress but the
addwitnessaddress was removed.
Edit: seems like Bitcoin core 0.18.0 auto calls
addwitnessaddress when I use 'importprivatekey' but I found no official documentation of that.