forked from TrueCloudLab/neoneo-go
rpc: make getapplicationlog
error more deterministic
This commit is contained in:
parent
29f1e646ed
commit
1755ce10ac
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ func (s *Server) getApplicationLog(reqParams request.Params) (interface{}, *resp
|
||||||
|
|
||||||
appExecResult, err := s.chain.GetAppExecResult(txHash)
|
appExecResult, err := s.chain.GetAppExecResult(txHash)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, response.NewRPCError("Unknown transaction", "", nil)
|
return nil, response.NewRPCError("Unknown transaction", "", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return result.NewApplicationLog(appExecResult), nil
|
return result.NewApplicationLog(appExecResult), nil
|
||||||
|
|
Loading…
Reference in a new issue