[#609] morph/client: Make halt state error private
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
0ec3faefc9
commit
08b5f29e16
2 changed files with 5 additions and 5 deletions
|
@ -244,7 +244,7 @@ func (c *Client) notaryInvoke(committee bool, contract util.Uint160, method stri
|
|||
|
||||
// check invocation state
|
||||
if test.State != HaltState {
|
||||
return &NotHaltStateError{state: test.State, exception: test.FaultException}
|
||||
return ¬HaltStateError{state: test.State, exception: test.FaultException}
|
||||
}
|
||||
|
||||
// if test invocation failed, then return error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue