core: save NEP5 transfer notify index

TransferNotifyIndex is the index of transfer event in the list
of all transfers in a transaction.
This commit is contained in:
Evgenii Stratonikov 2020-08-03 10:43:53 +03:00
parent a702423c4a
commit c6d33c5841
6 changed files with 35 additions and 17 deletions

View file

@ -613,6 +613,8 @@ func (s *Server) getNEP5Transfers(ps request.Params) (interface{}, *response.Err
Asset: tr.Asset,
Index: tr.Block,
TxHash: tr.Tx,
NotifyIndex: tr.Index,
}
d, err := s.getDecimals(tr.Asset, cache)
if err != nil {