gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: exchange uses payto_uri inste


From: gnunet
Subject: [taler-wallet-core] branch master updated: exchange uses payto_uri instead of url now
Date: Sun, 19 Jan 2020 17:06:50 +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 fd5f3977 exchange uses payto_uri instead of url now
fd5f3977 is described below

commit fd5f3977bbdde6cbb4192f3a581abde15215288f
Author: Florian Dold <address@hidden>
AuthorDate: Sun Jan 19 17:06:47 2020 +0100

    exchange uses payto_uri instead of url now
---
 src/operations/exchanges.ts | 2 +-
 src/types/talerTypes.ts     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/operations/exchanges.ts b/src/operations/exchanges.ts
index 741be31b..9ea36e27 100644
--- a/src/operations/exchanges.ts
+++ b/src/operations/exchanges.ts
@@ -328,7 +328,7 @@ async function updateExchangeWithWireInfo(
   for (const a of wireInfo.accounts) {
     console.log("validating exchange acct");
     const isValid = await ws.cryptoApi.isValidWireAccount(
-      a.url,
+      a.payto_uri,
       a.master_sig,
       details.masterPublicKey,
     );
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts
index b1a86413..10ee8374 100644
--- a/src/types/talerTypes.ts
+++ b/src/types/talerTypes.ts
@@ -654,7 +654,7 @@ export class WireFeesJson {
 }
 
 export class AccountInfo {
-  url: string;
+  payto_uri: string;
   master_sig: string;
 }
 
@@ -886,7 +886,7 @@ export const codecForWireFeesJson = () =>
 export const codecForAccountInfo = () =>
   typecheckedCodec<AccountInfo>(
     makeCodecForObject<AccountInfo>()
-      .property("url", codecForString)
+      .property("payto_uri", codecForString)
       .property("master_sig", codecForString)
       .build("AccountInfo"),
   );

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



reply via email to

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