Cleaned address bytes

This commit is contained in:
StephenButtolph 2020-05-10 18:37:09 -04:00
parent 89f64028fc
commit ed7ea5856e
1 changed files with 1 additions and 2 deletions

View File

@ -476,8 +476,7 @@ func (service *Service) ListAddresses(_ *http.Request, args *ListAddressesArgs,
}
for _, address := range addresses {
addressBytes := address.Key()
response.Addresses = append(response.Addresses, service.vm.Format(addressBytes[:]))
response.Addresses = append(response.Addresses, service.vm.Format(address.Bytes()))
}
return nil
}