code: def _create_vote_txn(signer, proposal_id, setting_key, vote_value):
      
      if vote_value == 'accept':
          vote_id = SettingVote.ACCEPT
      else:
          vote_id = SettingVote.REJECT
  
      vote = SettingVote(proposal_id=proposal_id, vote=vote_id)
      payload = SettingsPayload(data=vote.SerializeToString(),
                                action=SettingsPayload.VOTE)
  
      return _make_txn(signer, setting_key, payload)
docs: Creates an individual sawtooth_settings transaction for voting on a
      proposal for a particular setting key.