wallet-core: really report estimatedAmountEffective in PeerPullCredit

This commit is contained in:
Florian Dold 2023-02-24 03:49:03 +01:00
parent 4b9c65a22e
commit b8a11e69f5
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -542,7 +542,7 @@ function buildTransactionForPeerPullCredit(
return {
type: TransactionType.PeerPullCredit,
amountEffective: Amounts.stringify(pullCredit.amount),
amountEffective: Amounts.stringify(pullCredit.estimatedAmountEffective),
amountRaw: Amounts.stringify(peerContractTerms.amount),
exchangeBaseUrl: pullCredit.exchangeBaseUrl,
extendedStatus: ExtendedStatus.Pending,