diff options
author | Florian Dold <florian@dold.me> | 2023-11-09 13:32:08 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-11-09 14:54:27 +0100 |
commit | 7e3d6938bf5184b88ab4d0b75e4dc3d10af7c60a (patch) | |
tree | 788fc3b96d0aece0810c0654f9e0162eb9c1fe67 /packages/taler-wallet-core/src/db.ts | |
parent | 1024665001060b8a33378ff45f12426a1b152f25 (diff) | |
download | wallet-core-7e3d6938bf5184b88ab4d0b75e4dc3d10af7c60a.tar.gz wallet-core-7e3d6938bf5184b88ab4d0b75e4dc3d10af7c60a.tar.bz2 wallet-core-7e3d6938bf5184b88ab4d0b75e4dc3d10af7c60a.zip |
wallet-core: fix bogus timestamp logic
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index d59085dcc..3e8452bcd 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -189,7 +189,7 @@ export function timestampPreciseToDb( } else { let tUs = stamp.t_s * 1000000; if (stamp.off_us) { - tUs == stamp.off_us; + tUs += stamp.off_us; } return tUs as DbPreciseTimestamp; } |