diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-21 12:23:48 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-21 12:23:48 +0530 |
commit | f4a8702b3cf93f9edf96d1d1c8cb88baa309e301 (patch) | |
tree | ec8c62271e7f220da32858a04c901b1962d2b4b3 /src/headless/taler-wallet-cli.ts | |
parent | dd2efc3d78f2dfda44f8182f9638723dcb839781 (diff) | |
download | wallet-core-f4a8702b3cf93f9edf96d1d1c8cb88baa309e301.tar.xz |
towards consuming new merchant API
Diffstat (limited to 'src/headless/taler-wallet-cli.ts')
-rw-r--r-- | src/headless/taler-wallet-cli.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts index 3f116670d..fc13d77f3 100644 --- a/src/headless/taler-wallet-cli.ts +++ b/src/headless/taler-wallet-cli.ts @@ -30,7 +30,7 @@ import { setupRefreshPlanchet, encodeCrock, } from "../crypto/talerCrypto"; -import { OperationFailedAndReportedError } from "../operations/errors"; +import { OperationFailedAndReportedError, OperationFailedError } from "../operations/errors"; import { Bank } from "./bank"; import { classifyTalerUri, TalerUriType } from "../util/taleruri"; import { Configuration } from "../util/talerconfig"; @@ -97,7 +97,6 @@ async function doPay( if (pay) { await wallet.confirmPay(result.proposalId, undefined); - console.log("paid!"); } else { console.log("not paying"); } |