[#609] morph/client: Make halt state error private

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-06-15 16:47:57 +03:00 committed by Alex Vanin
parent 0ec3faefc9
commit 08b5f29e16
2 changed files with 5 additions and 5 deletions

View file

@ -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 &notHaltStateError{state: test.State, exception: test.FaultException}
}
// if test invocation failed, then return error