forked from TrueCloudLab/neoneo-go
rpc: fix Unknown transaction
response for gettransactionheight
This commit is contained in:
parent
173bf0be62
commit
3be2a22af8
1 changed files with 1 additions and 1 deletions
|
@ -1248,7 +1248,7 @@ func (s *Server) getTransactionHeight(ps request.Params) (interface{}, *response
|
|||
|
||||
_, height, err := s.chain.GetTransaction(h)
|
||||
if err != nil || height == math.MaxUint32 {
|
||||
return nil, response.NewRPCError("unknown transaction", "", nil)
|
||||
return nil, response.NewRPCError("Unknown transaction", "", nil)
|
||||
}
|
||||
|
||||
return height, nil
|
||||
|
|
Loading…
Reference in a new issue