use accept instead of IsOK Method

This commit is contained in:
William Banfield
2022-02-21 16:48:36 -05:00
parent 19f96114ce
commit 77e0dc8a24
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -58,11 +58,6 @@ func (r ResponseVerifyVoteExtension) IsErr() bool {
return r.Result != ResponseVerifyVoteExtension_ACCEPT
}
// IsOK returns true if Code is OK
func (r ResponseProcessProposal) IsOK() bool {
return r.Accept
}
//---------------------------------------------------------------------------
// override JSON marshaling so we emit defaults (ie. disable omitempty)