func (msg *MsgBudgetVote) BtcEncode(w io.Writer, pver uint32, enc MessageEncoding) error {
	err := writeTxIn(w, pver, 0, &msg.Input)
	if err != nil {
		return err
	}
	err = writeElements(w, pver, msg.ProposalHash, msg.Vote, (uint32Time)(msg.Time))
	if err != nil {
		return err
	}
	return WriteVarBytes(w, pver, msg.Signature)
}
// BtcEncode encodes the receiver to w using the bitcoin protocol encoding.
// This is part of the Message interface implementation.
BtcEncode encodes the receiver to w using the bitcoin protocol encoding.
This is part of the Message interface implementation.
// BtcEncode encodes the receiver to w using the bitcoin protocol encoding . // This is part of the Message interface implementation .
func (msg *MsgBudgetVote) BtcEncode(w io.Writer, pver uint32, enc MessageEncoding) error {
	err := writeTxIn(w, pver, 0, &msg.Input)
	if err != nil {
		return err
	}
	err = writeElements(w, pver, msg.ProposalHash, msg.Vote, (uint32Time)(msg.Time))
	if err != nil {
		return err
	}
	return WriteVarBytes(w, pver, msg.Signature)
}
func ( msg * MsgBudgetVote ) BtcEncode ( w io . Writer , pver uint32 , enc MessageEncoding ) error { err := writeTxIn ( w , pver , 0 , & msg . Input ) if err != nil { return err } err = writeElements ( w , pver , msg . ProposalHash , msg . Vote , ( uint32Time ) ( msg . Time ) ) if err != nil { return err } return WriteVarBytes ( w , pver , msg . Signature ) }
BtcEncode encodes the receiver to w using the bitcoin protocol encoding.
BtcEncode encodes the receiver to w using the bitcoin protocol encoding .