diff options
author | Florian Dold <florian@dold.me> | 2023-05-25 19:11:03 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-25 19:11:03 +0200 |
commit | 8624d798b799d78a4b6393493a0750027094904d (patch) | |
tree | 2ed70812786bc7fc28efb1879e7d13b44a6c0d22 /packages/taler-util | |
parent | 485f7d3603bb3c9f563cf6c5fdaabdf474e9c4d5 (diff) | |
download | wallet-core-8624d798b799d78a4b6393493a0750027094904d.tar.xz |
wallet-core: fix issues with aborting deposits
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/taler-crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/taler-crypto.ts b/packages/taler-util/src/taler-crypto.ts index fa92f5683..3cd482bfa 100644 --- a/packages/taler-util/src/taler-crypto.ts +++ b/packages/taler-util/src/taler-crypto.ts @@ -873,7 +873,7 @@ export function bufferForUint32(n: number): Uint8Array { * which should be true for all Taler protocol messages. */ export function bufferForUint64(n: number): Uint8Array { - const arrBuf = new ArrayBuffer(4); + const arrBuf = new ArrayBuffer(8); const buf = new Uint8Array(arrBuf); const dv = new DataView(arrBuf); if (n < 0 || !Number.isInteger(n)) { |