fix build, tipAmountEffective = selectedDemons.totalCoinValue

This commit is contained in:
Sebastian 2022-03-28 14:51:17 -03:00
parent 1d85662946
commit e5f21ec5bb
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -126,11 +126,7 @@ export async function prepareTip(
merchantBaseUrl: res.merchantBaseUrl, merchantBaseUrl: res.merchantBaseUrl,
createdTimestamp: TalerProtocolTimestamp.now(), createdTimestamp: TalerProtocolTimestamp.now(),
merchantTipId: res.merchantTipId, merchantTipId: res.merchantTipId,
tipAmountEffective: Amounts.sub( tipAmountEffective: selectedDenoms.totalCoinValue,
amount,
Amounts.add(withdrawDetails.overhead, withdrawDetails.withdrawFee)
.amount,
).amount,
retryInfo: initRetryInfo(), retryInfo: initRetryInfo(),
lastError: undefined, lastError: undefined,
denomsSel: denomSelectionInfoToState(selectedDenoms), denomsSel: denomSelectionInfoToState(selectedDenoms),