taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 457673564cb6ba9db874e8f5ed163a1f46d13da2
parent b8992d0a3938aaaa60441425b51e507bfeef0761
Author: Iván Ávalos <avalos@disroot.org>
Date:   Wed,  4 Mar 2026 22:36:26 +0100

-fix import

Diffstat:
Mpackages/taler-wallet-core/src/wallet.ts | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts @@ -291,7 +291,6 @@ import { readSuccessResponseJsonOrThrow, type HttpRequestLibrary, } from "@gnu-taler/taler-util/http"; -import { randomBytes } from "crypto"; import { Result } from "../../taler-util/src/result.js"; import { getUserAttentions, @@ -2115,7 +2114,7 @@ export async function handleTestingCorruptWithdrawalCoinSel( } if (wg.denomsSel && (wg.denomsSel.selectedDenoms.length ?? 0) > 0) { wg.denomsSel.selectedDenoms[0].denomPubHash = encodeCrock( - randomBytes(64), + getRandomBytes(64), ); await tx.withdrawalGroups.put(wg); }