core: store NEP-11 transfers, add accessor functions
This commit is contained in:
parent
7f40a0cfd8
commit
125e4231b0
7 changed files with 147 additions and 47 deletions
|
@ -661,7 +661,7 @@ func (s *Server) getNEP17Balances(ps request.Params) (interface{}, *response.Err
|
|||
Address: address.Uint160ToString(u),
|
||||
Balances: []result.NEP17Balance{},
|
||||
}
|
||||
lastUpdated, err := s.chain.GetNEP17LastUpdated(u)
|
||||
lastUpdated, err := s.chain.GetTokenLastUpdated(u)
|
||||
if err != nil {
|
||||
return nil, response.NewRPCError("Failed to get NEP17 last updated block", err.Error(), err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue