From 83af702f1cae043902e23e9358c3e036ddca8d33 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 3 Jun 2020 16:46:25 +0530 Subject: re-indent with latest version of prettier --- src/operations/withdraw.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/operations/withdraw.ts') 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); -- cgit v1.2.3