diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-06-03 16:46:25 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-06-03 16:46:25 +0530 |
commit | 83af702f1cae043902e23e9358c3e036ddca8d33 (patch) | |
tree | 3b27fa06fd890406224a0cc4e074d9bd9457230d /src/operations/withdraw.ts | |
parent | 77c61e738181561979da64a480fe21f70f6fe1f4 (diff) | |
download | wallet-core-83af702f1cae043902e23e9358c3e036ddca8d33.tar.xz |
re-indent with latest version of prettier
Diffstat (limited to 'src/operations/withdraw.ts')
-rw-r--r-- | src/operations/withdraw.ts | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/operations/withdraw.ts b/src/operations/withdraw.ts index 14071be79..284743415 100644 --- a/src/operations/withdraw.ts +++ b/src/operations/withdraw.ts @@ -420,17 +420,19 @@ async function processPlanchet( } } -export function denomSelectionInfoToState(dsi: DenominationSelectionInfo): DenomSelectionState { +export function denomSelectionInfoToState( + dsi: DenominationSelectionInfo, +): DenomSelectionState { return { selectedDenoms: dsi.selectedDenoms.map((x) => { return { count: x.count, - denomPubHash: x.denom.denomPubHash + denomPubHash: x.denom.denomPubHash, }; }), totalCoinValue: dsi.totalCoinValue, totalWithdrawCost: dsi.totalWithdrawCost, - } + }; } /** @@ -617,11 +619,7 @@ export async function getExchangeWithdrawalInfo( throw Error(`exchange ${exchangeInfo.baseUrl} wire details not available`); } - const selectedDenoms = await selectWithdrawalDenoms( - ws, - baseUrl, - amount, - ); + const selectedDenoms = await selectWithdrawalDenoms(ws, baseUrl, amount); const exchangeWireAccounts: string[] = []; for (const account of exchangeWireInfo.accounts) { exchangeWireAccounts.push(account.payto_uri); |