diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-14 18:34:33 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-14 18:34:33 +0200 |
commit | 11acb0c4035e38f8ffe0d26b845bfa50e777f4b3 (patch) | |
tree | c52e4f83a7e449988761d0c4e91c66d76e10ee50 | |
parent | bc5076b491f42ce680180a7b073b1763f3ee645b (diff) | |
download | wallet-core-11acb0c4035e38f8ffe0d26b845bfa50e777f4b3.tar.xz |
logic error
-rw-r--r-- | src/headless/taler-wallet-cli.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts index ff0351d0f..435210fcc 100644 --- a/src/headless/taler-wallet-cli.ts +++ b/src/headless/taler-wallet-cli.ts @@ -342,7 +342,7 @@ async function main() { console.log("payment status after wallet payment:", paymentStatus2); - if (!paymentStatus.paid) { + if (!paymentStatus2.paid) { throw Error("payment did not succeed"); } |