gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] 01/03: wrong checking


From: gnunet
Subject: [taler-wallet-core] 01/03: wrong checking
Date: Mon, 05 Aug 2024 18:19:41 +0200

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

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

commit 03d90d7c94e18704cdeaaf5434de54bdf26b45ff
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Aug 5 13:17:56 2024 -0300

    wrong checking
---
 packages/taler-util/src/types-taler-wallet.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-util/src/types-taler-wallet.ts 
b/packages/taler-util/src/types-taler-wallet.ts
index 55a2b07d5..26571a913 100644
--- a/packages/taler-util/src/types-taler-wallet.ts
+++ b/packages/taler-util/src/types-taler-wallet.ts
@@ -595,7 +595,7 @@ export function stringifyScopeInfoShort(si: ScopeInfo): 
string {
 export function parseScopeInfoShort(si: string): ScopeInfo | undefined {
   const indexOfColon = si.indexOf(":");
   const indexOfSlash = si.indexOf("/");
-  if (indexOfColon === -1 && indexOfColon === -1) {
+  if (indexOfColon === -1 && indexOfSlash === -1) {
     return {
       type: ScopeType.Global,
       currency: si,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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