As the test describe, segwit scriptPubKey are considered as change. It means that if you import the scriptPubKey, then send money to it, and call listtransactions
, you will not see it. (contrary to p2sh scriptPubKey)
This PR makes it possible to use watchonly on segwit scriptPubKey.