From 0afbb8453d3446a481b1dca36b7fc605941ec741 Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Tue, 20 Nov 2018 11:23:11 +0100 Subject: [PATCH] typed lockPayments --- src/keeper/contracts/conditions/PaymentConditions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keeper/contracts/conditions/PaymentConditions.ts b/src/keeper/contracts/conditions/PaymentConditions.ts index b5a485b..40656cc 100644 --- a/src/keeper/contracts/conditions/PaymentConditions.ts +++ b/src/keeper/contracts/conditions/PaymentConditions.ts @@ -9,9 +9,9 @@ export default class PaymentConditions extends ContractBase { return paymentConditions } - public async lockPayment(serviceAgreementId: any, assetId: any, price: number, publisherAddress: string) + public async lockPayment(serviceAgreementId: string, assetId: string, price: number, consumerAddress: string) : Promise { - return this.send("lockPayment", publisherAddress, [ + return this.send("lockPayment", consumerAddress, [ serviceAgreementId, "0x" + assetId, price, ]) }