diff options
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/workers/cryptoImplementation.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/workers/cryptoImplementation.ts b/src/crypto/workers/cryptoImplementation.ts index 43def7b6b..979fe41d8 100644 --- a/src/crypto/workers/cryptoImplementation.ts +++ b/src/crypto/workers/cryptoImplementation.ts @@ -336,7 +336,7 @@ export class CryptoImplementation { const d = buildSigPS(SignaturePurpose.WALLET_COIN_DEPOSIT) .put(decodeCrock(depositInfo.contractTermsHash)) .put(decodeCrock(depositInfo.wireInfoHash)) - .put(hash(decodeCrock(depositInfo.denomPub))) + .put(decodeCrock(depositInfo.denomPubHash)) .put(timestampRoundedToBuffer(depositInfo.timestamp)) .put(timestampRoundedToBuffer(depositInfo.refundDeadline)) .put(amountToBuffer(depositInfo.spendAmount)) @@ -350,7 +350,7 @@ export class CryptoImplementation { coin_pub: depositInfo.coinPub, coin_sig: encodeCrock(coinSig), contribution: Amounts.stringify(depositInfo.spendAmount), - denom_pub: depositInfo.denomPub, + h_denom: depositInfo.denomPubHash, exchange_url: depositInfo.exchangeBaseUrl, ub_sig: depositInfo.denomSig, }; |