1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

Update src/brizo/Brizo.ts

Co-Authored-By: Matthias Kretschmann <m@kretschmann.io>
This commit is contained in:
Alex Coseru 2020-04-14 19:05:38 +03:00 committed by GitHub
parent 783e90f868
commit 0f51014d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ export class Brizo extends Instantiable {
const address = consumerAccount.getId()
let signatureMessage = address
signatureMessage += (jobId && `${jobId}`) || ''
signatureMessage += jobId || ''
signatureMessage += (serviceAgreementId && `${noZeroX(serviceAgreementId)}`) || ''
const signature = await this.createHashSignature(
consumerAccount,