From eac7b172e600aa97a3df3b6c5fdbca151fa322c5 Mon Sep 17 00:00:00 2001 From: ssallam Date: Fri, 17 Jan 2020 12:55:00 +0100 Subject: [PATCH] Fix type. --- .../contracts/templates/EscrowAccessSecretStoreTemplate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keeper/contracts/templates/EscrowAccessSecretStoreTemplate.ts b/src/keeper/contracts/templates/EscrowAccessSecretStoreTemplate.ts index b93e885..072f269 100644 --- a/src/keeper/contracts/templates/EscrowAccessSecretStoreTemplate.ts +++ b/src/keeper/contracts/templates/EscrowAccessSecretStoreTemplate.ts @@ -25,7 +25,7 @@ export class EscrowAccessSecretStoreTemplate extends AgreementTemplateBase { const lockRewardConditionId = await lockRewardCondition.generateIdHash( agreementId, await escrowReward.getAddress(), - amount + String(amount) ) const accessSecretStoreConditionId = await accessSecretStoreCondition.generateIdHash( agreementId,