|
|
@ -53,11 +53,11 @@ func (r ResponseQuery) IsErr() bool { |
|
|
|
return r.Code != CodeTypeOK |
|
|
|
} |
|
|
|
|
|
|
|
func (r ResponsePrepareProposal) UnknownModifiedTx() bool { |
|
|
|
func (r ResponsePrepareProposal) IsTxStatusUnknown() bool { |
|
|
|
return r.ModifiedTxStatus == ResponsePrepareProposal_UNKNOWN |
|
|
|
} |
|
|
|
|
|
|
|
func (r ResponsePrepareProposal) TxModified() bool { |
|
|
|
func (r ResponsePrepareProposal) IsTxStatusModified() bool { |
|
|
|
return r.ModifiedTxStatus == ResponsePrepareProposal_MODIFIED |
|
|
|
} |
|
|
|
|
|
|
@ -69,8 +69,8 @@ func (r ResponseProcessProposal) IsStatusUnknown() bool { |
|
|
|
return r.Status == ResponseProcessProposal_UNKNOWN |
|
|
|
} |
|
|
|
|
|
|
|
// IsUnknown returns true if Code is Unknown
|
|
|
|
func (r ResponseVerifyVoteExtension) IsUnknown() bool { |
|
|
|
// IsStatusUnknown returns true if Code is Unknown
|
|
|
|
func (r ResponseVerifyVoteExtension) IsStatusUnknown() bool { |
|
|
|
return r.Status == ResponseVerifyVoteExtension_UNKNOWN |
|
|
|
} |
|
|
|
|
|
|
|