diff options
author | Florian Dold <florian@dold.me> | 2020-11-27 11:23:06 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-11-27 11:23:06 +0100 |
commit | 0828e65f8845dc4b148c0d3b0697fb589b338239 (patch) | |
tree | 800245846e3b28a9dfe89c2893fd0a9bcf47847e /packages/taler-wallet-core/src/operations/reserves.ts | |
parent | 4e481a51c64084db21d3eea513b13a7a3bd6603a (diff) | |
download | wallet-core-0828e65f8845dc4b148c0d3b0697fb589b338239.tar.xz |
fix static types
Diffstat (limited to 'packages/taler-wallet-core/src/operations/reserves.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/reserves.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/reserves.ts b/packages/taler-wallet-core/src/operations/reserves.ts index b20570e09..a2a1b3018 100644 --- a/packages/taler-wallet-core/src/operations/reserves.ts +++ b/packages/taler-wallet-core/src/operations/reserves.ts @@ -81,7 +81,11 @@ import { } from "../util/http"; import { codecForAny } from "../util/codec"; import { URL } from "../util/url"; -import { initRetryInfo, getRetryDuration, updateRetryInfoTimeout } from "../util/retries"; +import { + initRetryInfo, + getRetryDuration, + updateRetryInfoTimeout, +} from "../util/retries"; const logger = new Logger("reserves.ts"); @@ -523,7 +527,8 @@ async function updateReserve( if (result.isError) { if ( resp.status === 404 && - result.talerErrorResponse.code === TalerErrorCode.EXCHANGE_RESERVES_GET_STATUS_UNKNOWN + result.talerErrorResponse.code === + TalerErrorCode.EXCHANGE_RESERVES_GET_STATUS_UNKNOWN ) { ws.notify({ type: NotificationType.ReserveNotYetFound, @@ -863,7 +868,7 @@ export async function createTalerWithdrawReserve( * Get payto URIs needed to fund a reserve. */ export async function getFundingPaytoUris( - tx: TransactionHandle, + tx: TransactionHandle<typeof Stores.reserves | typeof Stores.exchanges>, reservePub: string, ): Promise<string[]> { const r = await tx.get(Stores.reserves, reservePub); |