gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: do not throw exception when r


From: gnunet
Subject: [taler-wallet-core] branch master updated: do not throw exception when receiving zero-length refund list
Date: Sat, 07 Dec 2019 20:47:26 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new e435f5b4 do not throw exception when receiving zero-length refund list
e435f5b4 is described below

commit e435f5b431ced3790d477ca44542cc06aa80a068
Author: Florian Dold <address@hidden>
AuthorDate: Sat Dec 7 20:47:20 2019 +0100

    do not throw exception when receiving zero-length refund list
---
 src/wallet-impl/pay.ts | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/wallet-impl/pay.ts b/src/wallet-impl/pay.ts
index c39feeec..7f9e9032 100644
--- a/src/wallet-impl/pay.ts
+++ b/src/wallet-impl/pay.ts
@@ -1063,11 +1063,6 @@ async function acceptRefundResponse(
 ): Promise<void> {
   const refundPermissions = refundResponse.refund_permissions;
 
-  if (!refundPermissions.length) {
-    console.warn("got empty refund list");
-    throw Error("empty refund");
-  }
-
   let numNewRefunds = 0;
 
   await runWithWriteTransaction(ws.db, [Stores.purchases], async tx => {

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]