From b567ba4668a5ac034e7227f53b5290195303980c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 13 Apr 2023 15:58:38 +0200 Subject: wallet-core: work around missing timestamp in legacy transaction --- packages/taler-wallet-cli/src/index.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/taler-wallet-cli') diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index e4e43808c..fc67d55cd 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -38,6 +38,7 @@ import { setGlobalLogLevelFromString, summarizeTalerErrorDetail, TalerUriType, + Transaction, WalletNotification, } from "@gnu-taler/taler-util"; import { clk } from "@gnu-taler/taler-util/clk"; @@ -1128,6 +1129,16 @@ const advancedCli = walletCli.subcommand("advancedArgs", "advanced", { help: "Subcommands for advanced operations (only use if you know what you're doing!).", }); +advancedCli + .subcommand("sampleTransactions", "sample-transactions", { + help: "Print sample wallet-core transactions", + }) + .action(async (args) => { + let transactions: Transaction[] = [ + + ]; + }); + advancedCli .subcommand("serve", "serve", { help: "Serve the wallet API via a unix domain socket.", -- cgit v1.2.3