gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: Big integer literals are not


From: gnunet
Subject: [taler-wallet-core] branch master updated: Big integer literals are not available in es2015
Date: Thu, 01 Feb 2024 19:12:28 +0100

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 9655b701a Big integer literals are not available in es2015
9655b701a is described below

commit 9655b701ad6a2046ef83a790a7fd0446a576a2a9
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Feb 1 15:12:21 2024 -0300

    Big integer literals are not available in es2015
---
 packages/taler-wallet-core/src/operations/backup/state.ts           | 2 --
 packages/taler-wallet-core/src/operations/withdraw.ts               | 5 +++--
 .../taler-wallet-core/src/util/instructedAmountConversion.test.ts   | 6 +++++-
 packages/taler-wallet-core/src/util/timer.ts                        | 2 +-
 4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/backup/state.ts 
b/packages/taler-wallet-core/src/operations/backup/state.ts
index d02ead783..72f850b25 100644
--- a/packages/taler-wallet-core/src/operations/backup/state.ts
+++ b/packages/taler-wallet-core/src/operations/backup/state.ts
@@ -13,5 +13,3 @@
  You should have received a copy of the GNU General Public License along with
  GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
  */
-
-
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts 
b/packages/taler-wallet-core/src/operations/withdraw.ts
index 0fca01d1c..d664a6da6 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -1219,7 +1219,8 @@ export async function updateWithdrawalDenoms(
         denom.verificationStatus === DenominationVerificationStatus.Unverified
       ) {
         logger.trace(
-          `Validating denomination (${current + 1}/${denominations.length
+          `Validating denomination (${current + 1}/${
+            denominations.length
           }) signature of ${denom.denomPubHash}`,
         );
         let valid = false;
@@ -1864,7 +1865,7 @@ export async function getExchangeWithdrawalInfo(
     ) {
       logger.warn(
         `wallet's support for exchange protocol version 
${WALLET_EXCHANGE_PROTOCOL_VERSION} might be outdated ` +
-        `(exchange has ${exchange.protocolVersionRange}), checking for 
updates`,
+          `(exchange has ${exchange.protocolVersionRange}), checking for 
updates`,
       );
     }
   }
diff --git 
a/packages/taler-wallet-core/src/util/instructedAmountConversion.test.ts 
b/packages/taler-wallet-core/src/util/instructedAmountConversion.test.ts
index de8515d09..3b618f797 100644
--- a/packages/taler-wallet-core/src/util/instructedAmountConversion.test.ts
+++ b/packages/taler-wallet-core/src/util/instructedAmountConversion.test.ts
@@ -23,7 +23,11 @@ import {
 } from "@gnu-taler/taler-util";
 import test, { ExecutionContext } from "ava";
 import { CoinInfo } from "./coinSelection.js";
-import { convertDepositAmountForAvailableCoins, 
getMaxDepositAmountForAvailableCoins, convertWithdrawalAmountFromAvailableCoins 
} from "./instructedAmountConversion.js";
+import {
+  convertDepositAmountForAvailableCoins,
+  getMaxDepositAmountForAvailableCoins,
+  convertWithdrawalAmountFromAvailableCoins,
+} from "./instructedAmountConversion.js";
 
 function makeCurrencyHelper(currency: string) {
   return (sx: TemplateStringsArray, ...vx: any[]) => {
diff --git a/packages/taler-wallet-core/src/util/timer.ts 
b/packages/taler-wallet-core/src/util/timer.ts
index 28680c1a4..8db024512 100644
--- a/packages/taler-wallet-core/src/util/timer.ts
+++ b/packages/taler-wallet-core/src/util/timer.ts
@@ -94,7 +94,7 @@ export const performanceNow: () => bigint = (() => {
     return () => BigInt(Math.floor(performance.now() * 1000)) * BigInt(1000);
   }
 
-  return () => BigInt(new Date().getTime()) * 1000n * 1000n;
+  return () => BigInt(new Date().getTime()) * BigInt(1000) * BigInt(1000);
 })();
 
 const nullTimerHandle = {

-- 
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]