Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Convert address to checksum address
Browse files Browse the repository at this point in the history
  • Loading branch information
r-marques committed Oct 8, 2020
1 parent 9bcb572 commit 8b586d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ public List<ComputeLogs> getComputeLogs(String serviceAgreementId, String execut
log.error("Exception generating signature: ", e.getMessage());
throw new ServiceException("Unable to generate signature", e);
}
return GatewayService.getComputeLogs(serviceEndpoint, consumerAddress, signature);
return GatewayService.getComputeLogs(serviceEndpoint, Keys.toChecksumAddress(consumerAddress), signature);
}

/**
Expand All @@ -1160,7 +1160,7 @@ public ComputeStatus getComputeStatus(String serviceAgreementId, String executio
log.error("Exception generating signature: ", e.getMessage());
throw new ServiceException("Unable to generate signature", e);
}
return GatewayService.getComputeStatus(serviceEndpoint, consumerAddress, signature);
return GatewayService.getComputeStatus(serviceEndpoint, Keys.toChecksumAddress(consumerAddress), signature);
}


Expand Down

0 comments on commit 8b586d4

Please sign in to comment.