def xprv(self):
    if self.testnet:
        version = TESTNET_XPRV
    else:
        version = MAINNET_XPRV
    return self._prv(version)
def xprv(self):
    if self.testnet:
        version = TESTNET_XPRV
    else:
        version = MAINNET_XPRV
    return self._prv(version)