From ef0acf06bfb7820a21c4719dba0d659f600be3c7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 2 Apr 2020 20:33:01 +0530 Subject: model reserve history in the exchange, improve reserve handling logic --- src/crypto/workers/cryptoApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto/workers/cryptoApi.ts') diff --git a/src/crypto/workers/cryptoApi.ts b/src/crypto/workers/cryptoApi.ts index ab97e1274..d3b12e26d 100644 --- a/src/crypto/workers/cryptoApi.ts +++ b/src/crypto/workers/cryptoApi.ts @@ -359,8 +359,8 @@ export class CryptoApi { return this.doRpc("hashString", 1, str); } - hashDenomPub(denomPub: string): Promise { - return this.doRpc("hashDenomPub", 1, denomPub); + hashEncoded(encodedBytes: string): Promise { + return this.doRpc("hashEncoded", 1, encodedBytes); } isValidDenom(denom: DenominationRecord, masterPub: string): Promise { -- cgit v1.2.3