Previously, returned null if a scriptpubkey was not Segwit; now handles encoding to Base58 for other types.
make check-units