def zpub(self):
    if self.testnet:
        version = TESTNET_ZPUB
    else:
        version = MAINNET_ZPUB
    return self._pub(version)
def zpub(self):
    if self.testnet:
        version = TESTNET_ZPUB
    else:
        version = MAINNET_ZPUB
    return self._pub(version)