Files
common/packages/util-crypto/src/cryptoInit.ts
T
2021-01-03 11:20:22 +01:00

10 lines
265 B
TypeScript

// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { cryptoWaitReady } from './crypto';
// start init process immediately
cryptoWaitReady().catch((): void => {
// shouldn't happen, logged above
});