code: def _hsig_input(self, index):
          '''
          inputs for the hsig hash
          '''
          hsig_input = z.ZcashByteData()
          hsig_input += self.tx_joinsplits[index].random_seed
          hsig_input += self.tx_joinsplits[index].nullifiers
          hsig_input += self.joinsplit_pubkey
          return hsig_input.to_bytes(f _hsig_input(self, index):
          '''
          inputs for the hsig hash
          '''
          hsig_input = z.ZcashByteData()
          hsig_input += self.tx_joinsplits[index].random_seed
          hsig_input += self.tx_joinsplits[index].nullifiers
          hsig_input += self.joinsplit_pubkey
          return hsig_input.to_bytes()
docs: inputs for the hsig hash