forked from TrueCloudLab/neoneo-go
rpc: fix getnep5transfers
address check condition
This commit is contained in:
parent
8341913468
commit
7bdbfbad19
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ func (s *Server) getNEP5Transfers(ps request.Params) (interface{}, *response.Err
|
|||
}
|
||||
|
||||
transfer.Amount = amountToString(-tr.Amount, d)
|
||||
if !tr.From.Equals(util.Uint160{}) {
|
||||
if !tr.To.Equals(util.Uint160{}) {
|
||||
transfer.Address = address.Uint160ToString(tr.To)
|
||||
}
|
||||
bs.Sent = append(bs.Sent, transfer)
|
||||
|
|
Loading…
Reference in a new issue