def signHash(self, hash, privateKey):
    signature = self.web3.eth.account.signHash(hash[(- 64):], private_key=privateKey[(- 64):])
    return {'v': signature.v, 'r': self.web3.toHex(signature.r), 's': self.web3.toHex(signature.s)}
def signHash(self, hash, privateKey):
    signature = self.web3.eth.account.signHash(hash[(- 64):], private_key=privateKey[(- 64):])
    return {'v': signature.v, 'r': self.web3.toHex(signature.r), 's': self.web3.toHex(signature.s)}